Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * RTC.c
- *
- * Created on: 16 mai 2013
- * Author: Valentin
- */
- #include "RTC.h"
- volatile uint16_t minutes = 0; // Minutes (0 to 12*60-1)
- volatile uint8_t count_time; // 4th of seconds counter
- struct Time temps;
- const uint8_t pinDir[16] = {0x09, 0x11, 0x21, 0x21, // 0-3
- 0x30, 0x30, 0x22, 0x22, // 4-7
- 0x12, 0x28, 0x18, 0x12, // 8-11
- 0x09, 0x11, 0x18, 0x28}; // minutes 1-4
- const uint8_t pinOut[16] = {0x08, 0x01, 0x20, 0x01, // 0-3
- 0x10, 0x20, 0x20, 0x02, // 4-7
- 0x10, 0x08, 0x08, 0x02, // 8-11
- 0x01, 0x10, 0x10, 0x20}; // minutes 1-4
Advertisement
Add Comment
Please, Sign In to add comment