{
a: {
0: 472,
1: 404,
2: 387,
3: 357,
4: 361,
5: 356
},
d: {
7: 0
}
}
It may not look like much but this is a big step in my robot butler project! I connected the ethernet shield to the arduino and made it return some json that reports on the readings from the analog and digital input pins. 6 analog inputs, with no device connected so all responding nonsense unfortunately, and only one digital pin that (7) that is set to off. I've made good progress on the phone app too, I can change and save the config of the house, how many rooms, and what are the addresses of the devices in each room. Now I have the json coming from the arduino I just need to get the app requesting the json and reporting back, then make the phone send post / put requests too to change the state of the pins on the arduino.
The json is deliberately hard to read (lets call it terse), it's for a computer to read, not you.
Getting there!
arduino: Microcontroller, hardware prototyping platform, a tiny specialised computer.
⬅️ Olympics opening gig at Hyde Park is now common knowledge :: My hosting company are dumping me after nearly 15 years! ➡️
Paulʼs weblog - I live near Folkestone, Kent. Wed + father to two, I'm a full-stack web engineer, + I do js / node, some ruby, python, php etc. My hobbies are pubbing, running, restaurants, home automation 🤖 and other diy jiggery-pokery, history, genealogy, TV, squirrels, pirates ☠️, lego, and TIME TRAVEL.