![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Is it possible to store a string in a variable or in the internal or external EEPROM in PicBasic Pro? This would be helpfull as my program is growing rather large and I am using a lot of Serout commands to an LCD, if this were possible could I use it like: LCDsub: Serout, porta.1.6,[#variable] Return Where I had previously put the string ie "Hello" into the variable? | |
| |
| | (permalink) |
| I've done the same thing using C and interfacing to an LCD. I have a function called Write_str("Hello"); and my function is this void Write_str( Char str) { ...code for display } Basicly the function is called as many times as there are letter in the string. So "Hello" would call it 5 time. one to write "H" one for "e" and so one. I don't know if this is true for basic. try it out I guess | |
| |