/* * 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);