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 from Sparkfun.com | |
// Original page: http://www.sparkfun.com/tutorials/246 | |
// Clear the display and say "Hello World!" | |
// This sketch is for Arduino versions 1.0 and later | |
// If you're using an Arduino version older than 1.0, use | |
// the other example code available on the tutorial page. | |
// Use the softwareserial library to create a new "soft" serial port | |
// for the display. This prevents display corruption when uploading code. |
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
/* | |
ESP8266 Blink by Simon Peter | |
Blink the blue LED on the ESP-01 module | |
This example code is in the public domain | |
The blue LED on the ESP-01 module is connected to GPIO1 | |
(which is also the TXD pin; so we cannot use Serial.print() at the same time) | |
Note that this sketch uses BUILTIN_LED to find the pin with the internal LED | |
*/ |
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
/* --------------------------------------------------------- | |
* | Experimentation Kit for Arduino Example Code | | |
* | CIRC-RGB .: Colourful Light :. (RGB LED) | | |
* --------------------------------------------------------- | |
* | |
* We've blinked an LED and controlled eight in sequence now it's time to | |
* control colour. Using an RGB LED (actual 3 LEDs in a single housing) | |
* we can generate any colour our heart desires. | |
* | |
* (we'll also use a few programming shortcuts to make the code |
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
/* visit www.amarino-toolkit.net to know about Amarino*/ | |
#include <MeetAndroid.h> | |
// declare MeetAndroid so that you can call functions with it | |
MeetAndroid meetAndroid; | |
int redLed = 11; | |
void setup() | |
{ |
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 <LiquidCrystal.h> | |
LiquidCrystal lcd(13, 12, 10, 9, 8, 7); | |
int TrigPin = 4; | |
int EchoPin = 2; | |
void setup() | |
{ | |
lcd.begin(16, 2); |
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
/* buildcircuit.com*/ | |
int ledPin = 11; | |
String inString = ""; // string to hold input | |
int value; | |
void setup() { | |
// Initialize serial communications: | |
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
#include <MeetAndroid.h> | |
#include <LiquidCrystal.h> | |
// initialize the library with the numbers of the interface pins | |
LiquidCrystal lcd(13, 12, 10, 9, 8, 7); | |
MeetAndroid meetAndroid; | |
String string; | |
void setup() | |
{ |
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
/* | |
Receives Test Events from your phone. | |
After it gets a test message the led 11 will blink | |
for one second. | |
*/ | |
#include <MeetAndroid.h> | |
MeetAndroid meetAndroid; | |
int onboardLed = 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
#include <MeetAndroid.h> | |
#include <LiquidCrystal.h> | |
// initialize the library with the numbers of the interface pins | |
LiquidCrystal lcd(13, 12, 10, 9, 8, 7); | |
MeetAndroid meetAndroid; | |
int ledPin = 11; | |
void setup() |
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 the library code: | |
#include <LiquidCrystal.h> | |
// initialize the library with the numbers of the interface pins | |
LiquidCrystal lcd(13, 12, 10, 9, 8, 7); | |
void setup(){ | |
// set up the LCD's number of columns and rows: | |
lcd.begin(16, 2); |