Project

General

Profile

Revision dc472500

IDdc472500b5d9e2baef332e74a0ff124280767c6d
Parent e1d61b43
Child 1b054655

Added by Thomas Mullins almost 4 years ago

Added LED blinking, and other fixes

View differences:

toolbox/led.h
9 9
static inline void led_yellow() {PORTC |= _BV(PC1) | _BV(PC0);}
10 10
static inline void led_green() {PORTC = (PORTC & ~_BV(PC1)) | _BV(PC0);}
11 11

  
12
/* Starts LED blinking */ 
13
void led_blink_start(unsigned int period_ms, char n_times);
14

  
15
/* Returns nonzero if blinking has finished */
16
char led_blink_done();
17

  
12 18
#endif

Also available in: Unified diff