<s> from __future__ import print_function <EOL> from sparki_learning import * <EOL> com_port = None <EOL> setDebug ( DEBUG_INFO ) <EOL> while com_port == None : <EOL> com_port = input ( "<STR_LIT>" ) <EOL> setDebug ( DEBUG_INFO ) <EOL> init ( com_port ) <EOL> EEPROM_store_location = <NUM_LIT> <EOL> message = "<STR_LIT>" <EOL> EEPROMwrite ( EEPROM_store_location , message ) <EOL> read_back = str ( EEPROMread ( EEPROM_store_location , len ( message ) ) ) <EOL> print ( read_back ) <EOL> if read_back == message : <EOL> print ( "<STR_LIT>" ) <EOL> else : <EOL> print ( "<STR_LIT>" ) <EOL> print ( "<STR_LIT>" ) <EOL> EEPROMwrite ( EEPROM_store_location , "<STR_LIT>" ) <EOL> print ( "<STR_LIT>" ) <EOL> try : <EOL> EEPROMwrite ( <NUM_LIT> , "<STR_LIT>" ) <EOL> print ( "<STR_LIT>" ) <EOL> except IndexError : <EOL> print ( "<STR_LIT>" ) <EOL> print ( "<STR_LIT>" ) </s>
