- www.exploreembedded.com
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<avr/io.h> | |
#include<avr/interrupt.h> | |
#include<util/delay.h> | |
#include "lcd.h" | |
volatile int cnt_zero,cnt_one; | |
ISR (INT0_vect) //External interrupt_zero ISR | |
{ | |
cnt_zero++; | |
} | |
ISR (INT1_vect) //External interrupt_one ISR |
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
/* | |
Sketch: GPRS HTTP Test | |
*/ | |
#include <gprs.h> | |
#include <SoftwareSerial.h> | |
char http_cmd[] = "GET exploreembedded.com/wiki/images/1/15/Hello.txt HTTP/1.0\r\n\r\n"; | |
char buffer[512]; |
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
/* | |
| | |
| For tutorial visit: | |
| http://exploreembedded.com/wiki/index.php?title=Interactive_Menus_for_your_project_with_a_Display_and_an_Encoder | |
| | |
*/ | |
#include <SPI.h> | |
#include <Adafruit_GFX.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
/* | |
| Example part of AVR Tutorial Series @ Explore Embedded | |
| To read the detailed tutorial visit: | |
| http://exploreembedded.com/wiki/5.AVR_Timer_programming | |
*/ | |
#include<avr/io.h> | |
#include <util/delay.h> | |
#define LED PD4 | |
int main() | |
{ |
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
/* | |
A set of custom made large numbers for a 16x2 LCD using the | |
LiquidCrystal librabry. Works with displays compatible with the | |
Hitachi HD44780 driver. | |
The Cuicuit: | |
LCD RS pin to D12 | |
LCD Enable pin to D11 | |
LCD D4 pin to D5 | |
LCD D5 pin to D4 |
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
/* | |
* This sketch demonstrates how to scan WiFi networks. | |
* The API is almost the same as with the WiFi Shield library, | |
* the most obvious difference being the different file you need to include: | |
*/ | |
#include "ESP8266WiFi.h" | |
void setup() { | |
Serial.begin(115200); | |
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
/*******Interrupt-based Rotary Encoder Sketch******* | |
by Simon Merrett, based on insight from Oleg Mazurov, Nick Gammon, rt, Steve Spence | |
modified at EE to include the select switch | |
Tutorial at: | |
http://exploreembedded.com/wiki/Interactive_Menus_for_your_project_with_a_Display_and_an_Encoder | |
*/ | |
static int pinA = 2; // Our first hardware interrupt pin is digital pin 2 | |
static int pinB = 3; // Our second hardware interrupt pin is digital pin 3 |
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
/* | |
* Indoor Air Quality v0.1 | |
* | |
* Demo sketch to log Indoor Air Quality to thingspeak.com | |
* | |
* Temperature, humidity, TVOC and C02 are measured and logged. | |
* The data is also printed on the terminal and displayed on OLED | |
* | |
* More details visit: | |
* |
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
/* | |
* For detailed tutorial on building the project visit: | |
* https://exploreembedded.com/wiki/Building_a_Frivolous_Internet_Connected_Display_with_ESP32 | |
* Install the libraries listed in the tutorial before compiling the code. | |
* Reference links: | |
https://exploreembedded.com/wiki/Secure_IOT_with_AWS_and_Hornbill_ESP32 |
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 <SPI.h> | |
#include <SD.h> | |
#include <SparkFunDS1307RTC.h> | |
#include <Wire.h> | |
#include "max6675.h" | |
int ktcSO = 8; | |
int ktcCS = 9; | |
int ktcCLK = 10; | |
const int chipSelect = 4; |
NewerOlder