Week 12- Interface
something something interfaces
Similar to last week, I included this for my final project. I asked chatGPT for the code
. It connected to the internet for last week's requirements, but for the GUI it made a simple embedded HTML code. I did not know this was possible with ".ino" files, so lets break it down.Trying to push this page I realixed putthing the code here got recognized as html and it broke it all. Don't do that.
So I will only do a screenshot to explain.
This is in HTML, so the markdown is something i've grown familiar over the last few weeks making this webpage. It is establishing the title for the page, and then the fonts and style that will be used. The part indicating a class="card" also shows that it will have a specific style choice. It says span id something, this means this value is expected to eb dynamic. The inputs lower are what the user can change that will trigger an action.
The functions to handle basically do as follows. Handles root just becomes the main menu, sort of starting point for the page. The handle status packages the information into a json file so it can be read by a browser. The handle set just makes sure it is in the format the webpage expects it.
