Hello all,
Been meaning to ask a few questions for a while but sixth form has started to get even more intense. Lovely.
In whatever free time I have I work on the alarm system I am (slowly) building. I have a few questions about different elements such as the LCD menu system, entering text and storing/ transferring ASCII data to/from numerous picaxe chips.
I have a touchscreen serial LCD display that has onboard flash storage where I have saved my menu options. These are called up with hex values alongside a hex value being returned for each individual button press. Question: could I use the ASCII command to send the desired hex commands to the display? I've been using puTTY at the minute. Not tried with a picaxe as of yet.
Okay.. now the real puzzlers..! Does anyone have any ideas about creating a structured menu to allow a user to navigate through the options either by the pressing of 5 tactile buttons (up, down, left, right, enter) or by touch screen presses? Im guessing I'll need to use IF statements and GO TO commands for each menu option in the picaxe code. Any code that has been used in the past I can analyse?
Second question- how can I use a 3x3 keypad to input text to the screen? Transmitting display to the text requires a preset serial command (set values at the start and end, and a string value which is the text I.e- AA 29 *text string goes here* FF C3 C0 C3 CC). Would the text need to be programmed into the relevant EEPROM data location or lookup table and then be somehow inserted or called from the hex commands going to the display?
Finally, how would I even consider storing data such as:
32 individual zone labels (40 char length)
10+ individual device labels (40 char length)
I know that 1 byte equals one letter or space but what sort of structure would I need to implement for the picaxe that would also facilitate re-write and calling from various software functions such as the display?
Should I consider getting an I2C EEPROM? Ideally I'd like to use a 40X2 to store this data but a separate EEPROM would be fine. I need something that can be re-written to with the 3x3 keypad or even by a PC terminal.
I've found some content on the forum in terms of EEPROM data etc but I can't seem to fully understand or figure out solutions myself. Especially with the sending and storing of text in the eeprom and then showing it on the display.
Thankyou all in advanced!
Been meaning to ask a few questions for a while but sixth form has started to get even more intense. Lovely.
In whatever free time I have I work on the alarm system I am (slowly) building. I have a few questions about different elements such as the LCD menu system, entering text and storing/ transferring ASCII data to/from numerous picaxe chips.
I have a touchscreen serial LCD display that has onboard flash storage where I have saved my menu options. These are called up with hex values alongside a hex value being returned for each individual button press. Question: could I use the ASCII command to send the desired hex commands to the display? I've been using puTTY at the minute. Not tried with a picaxe as of yet.
Okay.. now the real puzzlers..! Does anyone have any ideas about creating a structured menu to allow a user to navigate through the options either by the pressing of 5 tactile buttons (up, down, left, right, enter) or by touch screen presses? Im guessing I'll need to use IF statements and GO TO commands for each menu option in the picaxe code. Any code that has been used in the past I can analyse?
Second question- how can I use a 3x3 keypad to input text to the screen? Transmitting display to the text requires a preset serial command (set values at the start and end, and a string value which is the text I.e- AA 29 *text string goes here* FF C3 C0 C3 CC). Would the text need to be programmed into the relevant EEPROM data location or lookup table and then be somehow inserted or called from the hex commands going to the display?
Finally, how would I even consider storing data such as:
32 individual zone labels (40 char length)
10+ individual device labels (40 char length)
I know that 1 byte equals one letter or space but what sort of structure would I need to implement for the picaxe that would also facilitate re-write and calling from various software functions such as the display?
Should I consider getting an I2C EEPROM? Ideally I'd like to use a 40X2 to store this data but a separate EEPROM would be fine. I need something that can be re-written to with the 3x3 keypad or even by a PC terminal.
I've found some content on the forum in terms of EEPROM data etc but I can't seem to fully understand or figure out solutions myself. Especially with the sending and storing of text in the eeprom and then showing it on the display.
Thankyou all in advanced!