In this example we will connect an LDR to an Attiny85, once the value read drops below a certain value we will switch an LED on. For this example we…
arduino
-
-
As an experiment I wanted to use the Arduino IDE to write code for an Attiny85, I didn’t have an ISP shield at that point and couldn’t be bothered making…
-
Another MAX7219 example using random numbers to randomly light an LED in the matrix, you may want to increase the delay Code #include “LedControl.h” // need the library LedControl lc=LedControl(12,11,10,1);…
-
The first thing you will need that makes things easier is to download and install the LedControl Arduino library as it is essential for using the MAX7219. Code #include…
-
This time we will create a more practical example of connecting an Arduino to a PC and then writing an app to read data via the com port. In this…
-
In this example we will use analog pin 0 to obtain a value and send it via the com port (USB) , we will read this with a C# app…