0

Infowidget Codes
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Infowidget Codes

by tvdbon on Sun Jul 27, 2008 4:11 am

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 ?
tvdbon
 
Posts: 14
Joined: Fri Jun 06, 2008 2:51 pm

by adafruit on Sun Jul 27, 2008 5:05 pm

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

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

by tvdbon on Mon Jul 28, 2008 1:59 am

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

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

Please be positive and constructive with your questions and comments.