Psi Swarm robot library version 0.9
Fork of PsiSwarmV8_CPP by
Diff: psiswarm.h
- Revision:
- 1:060690a934a9
- Parent:
- 0:d6269d17c8cf
- Child:
- 2:c6986ee3c7c5
diff -r d6269d17c8cf -r 060690a934a9 psiswarm.h --- a/psiswarm.h Thu Feb 04 21:48:54 2016 +0000 +++ b/psiswarm.h Thu Mar 03 23:21:47 2016 +0000 @@ -15,7 +15,7 @@ #ifndef PSISWARM_H #define PSISWARM_H -#define SOFTWARE_VERSION_CODE 0.20 +#define SOFTWARE_VERSION_CODE 0.40 #define PIC_ADDRESS 0x30 #define LCD_ADDRESS 0x7C @@ -81,6 +81,7 @@ void IF_update_user_id(void); void IF_update_switch(void); void IF_update_minutes(void); +void IF_get_hardware_description(void); extern char * program_name; extern char * author_name; @@ -147,6 +148,20 @@ extern float backlight_brightness; extern float firmware_version; +extern float pcb_version; +extern float serial_number; + +extern char has_compass; +extern char has_side_ir; +extern char has_base_ir; +extern char has_base_colour_sensor; +extern char has_top_colour_sensor; +extern char has_wheel_encoders; +extern char has_audio_pic; +extern char has_ultrasonic_sensor; +extern char has_temperature_sensor; +extern char has_recharging_circuit; +extern char has_433_radio; extern int ir_pulse_delay; extern int base_ir_pulse_delay;