Hi all,
Im working on a project, using a PIC16F648A which monitors signals on 4x pins and automatically switches some outputs based on the inputs.
The project also serially outputs status of the inputs and outputs every 3 seconds, but I want to be able to label (name) the inputs on the status display.
Instead of hard coding the names, I want to be able to write the names to the eeprom and then read them back for use in the status display, but unortunately the only thing i've ever had experience with eeprom is writing and reading a couple of digits.
Now, the port names will be limited to 8 or 10 characters x 4 ports and also a label for the physical device (ie device name)
So say port 1 name is "Port0001" port 2 is "port0002" and so on and the device name is "Switch01".
For me to store these names in eeprom, obviously the text names need to be converted from ascii to decimal? and then this result written and then when read, converted from decimal back to ascii chars?
If anyone could assist in providing some help and possible code examples etc, would be appreciated.
Bookmarks