Infowidget Codes

Talk about YBoxen, widgets, Propeller hacking, etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
tvdbon
 
Posts: 14
Joined: Fri Jun 06, 2008 2:51 pm

Infowidget Codes

Post by tvdbon »

I've been playing a bit with the infowidget trying to point it to my own little webserver and I noticed that it doesn't exactly use html to view the data but rather some codes.

Is there a list of codes anywhere that I can use to format my page correctly ?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Post by adafruit »

its all in the TV_Text.spin:

'' Output a character
''
'' $00 = clear screen
'' $01 = home
'' $08 = backspace
'' $09 = tab (8 spaces per)
'' $0A = set X position (X follows)
'' $0B = set Y position (Y follows)
'' $0C = set color (color follows)
'' $0D = return
'' others = printable characters

tvdbon
 
Posts: 14
Joined: Fri Jun 06, 2008 2:51 pm

Post by tvdbon »

perfect, I'll modify my webserver code. This is the first step into turning my ybox2 into a homeautomation device... :D

Thanks !

Locked
Please be positive and constructive with your questions and comments.

Return to “YBox2 (discontinued)”