Light LEDs on data reception
This commit is contained in:
parent
6f6c9df74f
commit
5dfe848129
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "hpgl.h"
|
||||
#include "usb_cdc.h"
|
||||
#include "pwm_output.h"
|
||||
#include "led.h"
|
||||
|
||||
unsigned int HPGL_ParseErrorCounter = 0;
|
||||
|
||||
|
|
@ -58,6 +59,8 @@ void HPGL_Poll(void)
|
|||
// Nothing received
|
||||
return;
|
||||
}
|
||||
LED_On(LED_Pink);
|
||||
LED_On(LED_Orange);
|
||||
char character = received;
|
||||
|
||||
switch(state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue