diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-05-08 10:12:19 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-05-08 10:12:19 +0000 |
commit | 83bbc0a6c61cabde630dfb08d69e4d6a29657dd2 (patch) | |
tree | ad26357e5eddcf25bc13ec486983f4c94c56e4bb /demos/MSP430-MSP430x1611-GCC/main.c | |
parent | 3f9aac327ba999d67f9501ebf590d171e496b448 (diff) | |
download | ChibiOS-83bbc0a6c61cabde630dfb08d69e4d6a29657dd2.tar.gz ChibiOS-83bbc0a6c61cabde630dfb08d69e4d6a29657dd2.tar.bz2 ChibiOS-83bbc0a6c61cabde630dfb08d69e4d6a29657dd2.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@285 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC/main.c')
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/main.c b/demos/MSP430-MSP430x1611-GCC/main.c index c1d9c86bb..6790720ef 100644 --- a/demos/MSP430-MSP430x1611-GCC/main.c +++ b/demos/MSP430-MSP430x1611-GCC/main.c @@ -29,7 +29,9 @@ static WorkingArea(waThread1, 64); static msg_t Thread1(void *arg) {
while (TRUE) {
+ P6OUT |= P6_O_LED;
chThdSleep(500);
+ P6OUT &= ~P6_O_LED;
chThdSleep(500);
}
return 0;
@@ -61,6 +63,8 @@ int main(int argc, char **argv) { * sleeping in a loop.
*/
while (TRUE) {
+// if (!(P6IN & P6_I_BUTTON))
+// TestThread(&COM1);
chThdSleep(500);
}
return 0;
|