Initialize the software version in the EEPROM to "V0.81 Beta"
voidusercode_init(void){//Write the Software Version into the EEPROMstrcpy( EEPROM_SW_Version,"V0.81 Beta");}
Interact with analog inputs and digital outputs
voidusercode(void){//Check state of digital input at D_IN0 and save it to "variable1"uint8_t variable1;
variable1 =os_digin(D_IN0);if(variable1 ==1){//Set the digital output of HSD0 to "1"os_digout(OUT_HSD0,1);}}