Hi
Never having connected a uC to the internet before I thought your internet board would be a good place to start. Using your example Webserver application as a guide I've been able to get things up and running. Modifying things a bit I now wish to display the value of an ADC input, defined as both a byte and an integer, on both the LCD display and the Webserver for no other reason as to play and learn. I've read the ADC twice, using two variables defined as a Byte (S1) and Integer (S2) and when I display them on the LCD everything is fine.
However when I modify the Webserver HTML code to display the values, they both display as a byte
<p> Value S1 = %S1% </p>
<p> Value S2 = %S2% </p>
I freely admit to knowing little about HTML and I'm now trawling the internet for anything that can help me understand why they both display as a byte. I am probably making a newbie mistake so any advice is welcomed.
Regards
EB023v1 Webserver displaying variables
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: EB023v1 Webserver displaying variables
Hi
The limitation you are encountering in due to the internal Flowcode substitution array being a byte array (to conserve memory).
So not anything you are doing wrong.
Well done with your project.
Leigh
The limitation you are encountering in due to the internal Flowcode substitution array being a byte array (to conserve memory).
So not anything you are doing wrong.
Well done with your project.
Leigh