2dcf20ec
HAMEL
first program wit...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Constants and prototype for Arduino simulator
*/
////
// Constants
////
#define BUTTONS_NB 4
#define LEDS_NB 6
////
// Prototypes of defined fonctions
////
void led(int num,unsigned char state);
unsigned char button(int num);
void serialSend(unsigned char *data,int size);
long millis(void);
////
// Prototypes of users handlers
////
void setup(void);
void loop(void);
void serialInHandler(unsigned char byte);
|