MOD5270 Get Pin State on or off
Posted: Tue Nov 25, 2008 3:26 pm
Hello,
I'm pretty new to NetBurner and networking. I have a couple of questions regarding the GPIO pins and the FUNCTIONCALL tag in the HTML page.
1) If I wanted to get the state of say Pin 44 that I'm using as GPIO. (i.e. using the PIN 44 as an output, I want to know if it's on or off). How do I do that?
2) If I want to make a function call in the HTML page only when an image is clicked...and not have it run every time the webpage loads...is there a way to do that?
Your response is highly appreciated.
Thanks.
I'm pretty new to NetBurner and networking. I have a couple of questions regarding the GPIO pins and the FUNCTIONCALL tag in the HTML page.
1) If I wanted to get the state of say Pin 44 that I'm using as GPIO. (i.e. using the PIN 44 as an output, I want to know if it's on or off). How do I do that?
2) If I want to make a function call in the HTML page only when an image is clicked...and not have it run every time the webpage loads...is there a way to do that?
Your response is highly appreciated.
Thanks.