Unit A · On the network
What we are making: one page of your own, using everything from the last five sessions and nothing new at all.
In five sessions you have met a new board, joined a network, served a page, put a button on it that reaches back, and made the page readable. That is a great deal, and it has arrived quickly.
Today nothing new arrives. You build one thing that uses all of it, and by the end you will know which parts you actually understood and which parts you copied. That is the whole point, and it is far better to find out now than in March.
Start a new sketch and write as much as you can without looking back at sessions 1 to 5. When you get stuck, note down exactly what you were stuck on, then go and look it up.
That list of what you got stuck on is the useful output of today. Hand it in with the device.
| What you see | Why | What to do |
|---|---|---|
| I cannot remember any of it | You copied session 3 rather than reading it. | Work through it again slowly. Today is exactly when to do that. |
| It compiles but the page is blank | handleRoot is not registered. | Check the server.on("/", handleRoot); line. |
| It worked last week and not now | A different network, or a new IP address. | Check the Serial Monitor for the current address. It changes. |
| I finished in twenty minutes | Good. Then make the page better. | Add the reading's age, or a second control, or make it work on a phone held at arm's length across the room. |
In this session