This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <RGBmatrixPanel.h> | |
#define CLK 8 // USE THIS ON ARDUINO UNO, ADAFRUIT METRO M0, etc. | |
#define OE 9 | |
#define LAT 10 | |
#define A A0 | |
#define B A1 | |
#define C A2 | |
RGBmatrixPanel matrix(A, B, C, CLK, LAT, OE, false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This code works with this display only: https://buildcircuits.com/products/led-display-matrix-module-320x160mm-32x16-pixels-3in1-smd-1-4-scan-rgb-p10-full-color | |
// library link: https://drive.google.com/file/d/1BqVCiwq8BrZRucozg-tdPiYgmmH_c87f/view | |
// Delete the original Adafruit library | |
#include <RGBmatrixPanel.h> | |
// Most of the signal pins are configurable, but the CLK pin has some | |
// special constraints. On 8-bit AVR boards it must be on PORTB... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This code works with this display only: https://buildcircuits.com/products/led-display-matrix-module-320x160mm-32x16-pixels-3in1-smd-1-4-scan-rgb-p10-full-color | |
// library link: https://drive.google.com/file/d/1BqVCiwq8BrZRucozg-tdPiYgmmH_c87f/view | |
// Delete the original Adafruit library | |
#include <RGBmatrixPanel.h> | |
// Most of the signal pins are configurable, but the CLK pin has some | |
// special constraints. On 8-bit AVR boards it must be on PORTB... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
IR_remote_tester_and_detector | |
Connect the output pin of Infrared remote to DIG 2 | |
Connect an LED to pin 13. | |
*/ | |
#include <IRremote.h> | |
const int irReceiverPin = 2; | |
const int ledPin = 13; | |
IRrecv irrecv(irReceiverPin); //create an IRrecv object |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Shift Out Data | |
Decimal to Binary using Android Emulator | |
*/ | |
int ledPin=13; | |
int data = 8;//Connect Pin 8 of Arduino to pin 2 of CD4094 or HEF4794 | |
int strob = 12;//Connect Pin 12 to Pin 1 of CD4094 | |
int clock = 10;//Connect pin 10 of Arduino to pin 3 of CD4094 | |
int oe = 9;//Connect pin 9 of Arduino to pin 15 of CD4094 | |
int count = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int redPin = 3; | |
#define FADESPEED 1 | |
void setup() { | |
Serial.begin(38400); | |
pinMode(redPin, OUTPUT); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
*/ | |
// pins for the LEDs: | |
const int redPin = 3; | |
/*const int greenPin = 5; | |
const int bluePin = 6;*/ | |
/*const int redPin2 = 9; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
// initialize serial communication: | |
Serial.begin(38400);// this can be different for your Bluetooth module. It can be 9600 also. | |
// initialize the LED pins: | |
for (int thisPin = 2; thisPin < 13; thisPin++) { | |
pinMode(thisPin, OUTPUT); | |
} | |
} | |
void loop() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
// initialize serial communication: | |
Serial.begin(38400);// this can be different for your Bluetooth module. It can be 9600 also. | |
// initialize the LED pins: | |
for (int thisPin = 2; thisPin < 13; thisPin++) { | |
pinMode(thisPin, OUTPUT); | |
} | |
} | |
void loop() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
PROJECT: Ardroid | |
CODED BY: Anurag Goel | |
PUBLIC Licence Free To Modify | |
*/ | |
#define START_CMD_CHAR '*' | |
#define END_CMD_CHAR '#' | |
#define DIV_CMD_CHAR '|' | |
#define CMD_DIGITALWRITE 10 |
NewerOlder