Hi Malcolm
Don't be easily discouraged. Maybe it is not so straightforward to get strings in/out of PBP??
The macro belongs to our favourite contributor Darrell Taylor. There may be other options, but, this is my way.
Here, these messages are 7 segment codes to put onto a led display. disp_msg is the routine to transfer the string to the display(not shown here as it is not so relevant to the problem at hand) However, you will get the concept of how to implement your webpage in a similar format. I'm not sure if you'd encounter any troubles doing this, but, if you do, we're here to help; so, give it a try.Code:msg_LoBatt: PokeCode Cblank,$13,$15,$1b,$0B,$0a,$18,$18 ASM GetAddress macro Label, Wout ; Returns the Address of a Label as a Word CHK?RP Wout movlw low Label movwf Wout movlw High Label movwf Wout + 1 endm ENDASM ShowMsgLoBatt: @ GetAddress _msg_LoBatt, _Address goto Disp_msg




Bookmarks