This file contains 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 <Wire.h> | |
#include "LedControl.h" | |
LedControl lc=LedControl(12,10,11,4); // Pins: DIN,CLK,CS, # of Display connected | |
struct point | |
{ | |
int y, x; | |
int aX, aY; | |
}; |
This file contains 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
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space | |
#include <SPI.h> | |
#include <ESP8266WiFi.h> | |
#include <BlynkSimpleEsp8266.h> | |
#include <SimpleTimer.h> | |
#include <DHT.h> | |
// You should get Auth Token in the Blynk App. | |
// Go to the Project Settings (nut icon). |
This file contains 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 <dht.h> | |
dht DHT; | |
#define DHT11_PIN 7 | |
void setup(){ | |
Serial.begin(9600); | |
} |
This file contains 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
//EDISON SCIENCE CORNER// | |
//EDISON SCIENCE CORNER// | |
//EDISON SCIENCE CORNER// | |
//EDISON SCIENCE CORNER// | |
//EDISON SCIENCE CORNER// |
This file contains 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
// EDISON SCIENCE CORNER // | |
// EDISON SCIENCE CORNER // | |
// EDISON SCIENCE CORNER // | |
// EDISON SCIENCE CORNER // | |
const int s0 = 8; | |
const int s1 = 9; | |
const int s2 = 12; | |
const int s3 = 11; |
This file contains 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
// EDISON SCIENCE CORNER | |
// EDISON SCIENCE CORNER | |
// EDISON SCIENCE CORNER | |
// EDISON SCIENCE CORNER | |
// EDISON SCIENCE CORNER | |
// EDISON SCIENCE CORNER | |
#include <CapacitiveSensor.h> |
This file contains 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
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
int digit1 = 11; //PWM Display pin 12 (digit1 is common anonds A1 from right side) | |
int digit2 = 10; //PWM Display pin 9 (digit2 is common A2) | |
int digit3 = 9; //PWM Display pin 8 (digit3 is common anods A3) | |
int digit4 = 6; //PWM Display pin 6 (digit4 is common anods, from left side) | |
int segA = 2; //Display pin 11 |
This file contains 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
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space | |
#include <SPI.h> | |
#include <ESP8266WiFi.h> | |
#include <BlynkSimpleEsp8266.h> | |
#include <SimpleTimer.h> | |
#include <DHT.h> |
This file contains 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
//edison science corner | |
//edison science corner | |
//edison science corner | |
#define t 30 | |
#define t1 20 | |
#define t2 100 | |
#define t3 50 | |
void setup() { | |
// set up pins 2 to 13 as outputs |
This file contains 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
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
//EDISON SCIENCE CORNER | |
#include "pitches.h" | |
int led=13; | |
int noteDuration; | |
int pauseBetweenNotes = 0; |
OlderNewer