Recently, I discovered Platform.io which is a set of tools integrated in Atom editor. It allows the VERY easy management of tool chains for multiple boards. Here is my first program.
In this post I’ll explore how to install Mosquitto (MQTT Broker) and test it is working.
This is the code to blink a LED on a GPIO on an ESP8266-1 loaded with NodeMCU. What is of particular interest is the GPIO0 and GPIO2 values. GPIO0=3 GPIO2=4 pin = GPIO0 gpio.mode(pin, gpio.OUTPUT) lighton=0 tmr.alarm(0,1000,1,function() if lighton==0… Continue Reading →
My last project uses a Digispark (ATtiny85) as an USB keyboard to send the lock screen shortcut (Ctrl-Alt-L) when a single button is pressed. To bring some fun, I bundled the whole in an emergency stop push button.
Arduino IDE is great, however, some times I enjoy a simple C program and a simple Makefile. Here is a simple application skeleton allowing to blink a LED of course.
For a future more ambitious project, I tried to connect an LCD screen to a Raspberry Pi. My first guess was to connect the LCD directly to the Raspberry Pi GPIOs.