Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * RTC.h
- *
- * Created on: 16 mai 2013
- * Author: Valentin
- */
- #ifndef RTC_H_
- #define RTC_H_
- #include "msp430.h"
- #include <stdint.h>
- #define MIN_IN_HALF_DAY 720 // minutes in 1/2 day (12*60)
- #define LED_MASK 0x3B
- struct Time {
- uint8_t min_rough; // Rough minutes
- uint8_t min_precise; // Precise minutes
- uint8_t hour; // Hours (12h format)
- };
- #endif /* RTC_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement