Place to put your Basic demos and examples

Moderator: Mmiscool

User avatar
By Mmiscool
#33932 To put the information out to a page you must first get the value from a pin and then spring it to the main page. This is not applicable to the msg URL stuuf as that is a bit different.

Code: Select allbla = 0
Pi 5 bla
Wprint bla
Wait

The pi command will receive the pin status from pin 5 and put it to the web page on run. I have been considering making all of the pin I/o commands acessable in a function for direct assignment but have not done this as of yet.
User avatar
By forlotto
#33933 I did try this actually but I did not specify that bla = 0 first

So you need to first specify that bla is a variable by giving it a value

Then you can use it as a variable thanks this should give me some direction to play with!