print("test #1");
print(int(input("Enter number: ")[::-1]) * 2);
~/uni-python $ python 1.py
void readEE(void *var_struct, void *eeprom_struct, size_t struct_size) | |
{ | |
unsigned char *var_pointer = (unsigned char *)var_struct; | |
unsigned char eeprom_pointer = (unsigned char)eeprom_struct; | |
for (unsigned char i = 0; i < struct_size; i++) | |
{ | |
// based on __eeread.c in xc8 library | |
do | |
CLRWDT(); | |
#if _EEPROM_INT == _EEREG_INT |