Sunday, 5 May 2019

I have been watching youtube videos by Andreas Spiess of late. He's brilliant and very thorough!

Tonight I'm working through his Arduino IDE vs PlatformIO video at:
https://www.youtube.com/watch?v=0poh_2rBq7E&list=PL3XBzmAj53Rlu3Byy_GkqG6b-nwEpWku0&index=45&t=0s

So I launched Arduino IDE from the Win 10 search box "arduino" .. and as it was v 1.8.8 I left it as that (even though 1.8.9 is now available)

I then installed Visual Studio Code (VSC) from:
https://visualstudio.microsoft.com/downloads/

Then followed his video to install PlatformIO from VSC. It automatically also installed the C/C++ extension.

I then created a New Project choosing the board: 
[env:nodemcu]
platform = espressif8266
board = nodemcu
framework = arduino
From platformio.ini file.

I made a blink program and run it but only the serial output at 9600 baud worked. The LED_BUILTIN didn't blink :(

Moved on to using MQTT but need nodemcu to use vodafone-2124 SSID and rasp pi too as MQTT broker (to mimic Kilnageer LAN) but laptop to use Eir router as normal in Tola!

So how can I have a terminal to rasp pi? Use NC-10? Or even mobile phon eor tablet as only need to see it's up and running and check on output.

So "mayo_rpi_logger_2_Wireless" must move from 192.168.1.141 to vodafone-2124 LAN! Will do tomorrow afternoon.