Simple question - Custom variables from PC software
Posted: Thu Jan 11, 2007 5:47 am
Not quite sure how to phrase this as I am not a programmer
I have a project that I would like users to be able to customize. For example the user can specify the label of a sensor in a software program, click "Upload to PIC" and that label will then be used by the PIC.
Is this sort of thing possible with the PIC? Would the software program have to write the variables to the EEPROM of the PIC and then the PIC read the values back out (so they stay static).
Is the only way to achieve this through boot loading new firmware?
It would be much appreciated if I could be pointed in the correct direction Just a keyword so I can go off and research would be great!
Guest
Posted: Thu Jan 11, 2007 7:43 am
Hi,
This would be fairly easy actually. You could code the PIC to receive commands from the PC containing the label data that you want. The PIC would store this data to the internal EEPROM so that it would be available on powerup also. The PC could send something like this:
$LAB1 Voltage<CR>
The PIC would interpret this as a command to make 'Label1' show the text 'Voltage'.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum