changes
This commit is contained in:
parent
9cb203b246
commit
45fa4ad825
@ -14,6 +14,10 @@
|
|||||||
#include "time.h"
|
#include "time.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
MeterBusClient meterBusClient;
|
||||||
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
WDTCTL = WDTPW | WDTHOLD;
|
WDTCTL = WDTPW | WDTHOLD;
|
||||||
|
|
||||||
@ -21,12 +25,16 @@ int main() {
|
|||||||
uartInit();
|
uartInit();
|
||||||
timeInit();
|
timeInit();
|
||||||
|
|
||||||
|
meterBusClient.begin();
|
||||||
|
|
||||||
__enable_interrupt();
|
__enable_interrupt();
|
||||||
|
|
||||||
uartWrite('W');
|
uartWrite('W');
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
// __bis_status_register(LPM0_bits);
|
// __bis_status_register(LPM0_bits);
|
||||||
|
meterBusClient.exec();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user