RGB LED PIC example
We are using this sensor in this example We will connect the Red, Green and blue connections up to the following port pins C0, C1 and C2 Then we will…
We are using this sensor in this example We will connect the Red, Green and blue connections up to the following port pins C0, C1 and C2 Then we will…
On previous pages we created a DIY LED board and posted some examples. Now we are going to create a very basic library. http://www.getmicros.net/diy-led-board.php http://www.getmicros.net/led-examples-using-diy-led-board.php You need at least two…
We bought an ethernet shield for our Arduino’s and were wondering what sort of project could we do, we could have just made one of the default examples such as…
A new sensor breakout I got recently the BMP05 Barometric, pressure and Temperature sensor. #include <Wire.h> #include <Adafruit_BMP085.h> Adafruit_BMP085 bmp; void setup() { Serial.begin(9600); if (!bmp.begin()) { Serial.println(“Could not…
I bought a couple of proto shields but was dissapointed to see that unlike stripboard which I like to use most of them are just pads that are not linked…
Similar to Arduino example, same pinout. This will cycle through the red, green and blue colors. using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; namespace…
This was a quick test for a multi color LED int red = 2; int green =3; int blue =4; int j; void setup() { pinMode(red,OUTPUT); pinMode(green,OUTPUT); pinMode(blue,OUTPUT); }…
This example is a random number example using a TIl311 and a Wii nunchuk adaptor. Press the X button to generate a random number between 1 and 6. This was…
We have a few examples of using the LOL Shield to produce some pretty patterns but how about a basic game, in this case a dice throwing game. I used…
Switch LEDS off and on by column #include <Charliplexing.h> void setup() { LedSign::Init(); // initializes the screen } void loop() { for (int x=0; x<14; x++) { for (int y=0;…