improved the serial protocol, added some debug pins for a while

This commit is contained in:
Simen Svale Skogsrud
2010-03-02 08:19:21 +01:00
parent 551b4ed274
commit 36fd3a9bfb
4 changed files with 19 additions and 4 deletions

2
main.c
View File

@ -41,6 +41,8 @@ int main(void)
st_start(); // start the stepper subsystem
DDRD |= (1<<3)|(1<<4)|(1<<5);
for(;;){
sleep_mode();
sp_process(); // process the serial protocol