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> | |
MeetAndroid meetAndroid; | |
int redLed = 11; | |
int sensorPin = A0; | |
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
/* | |
*/ | |
// pins for the LEDs: | |
const int redPin = 3; | |
const int greenPin = 5; | |
const int bluePin = 6; | |
const int redPin2 = 9; |
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 <IRremote.h> | |
MeetAndroid meetAndroid; | |
int redLed = 9; | |
const int irReceiverPin = 2; | |
const int ledPin = 3; | |
IRrecv irrecv(irReceiverPin); //create an IRrecv object | |
decode_results decodedSignal; //stores results from IR sensor |
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
void setup() { | |
// Open serial communications: | |
Serial.begin(9600); | |
pinMode(9, OUTPUT); | |
// send an intro: | |
Serial.println("Enter a value"); |
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 <IRremote.h> | |
int redLed = 9; | |
const int irReceiverPin = 2; | |
const int ledPin = 3; | |
IRrecv irrecv(irReceiverPin); //create an IRrecv object | |
decode_results decodedSignal; //stores results from IR sensor | |
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
/* 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 = 9; | |
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
void setup() { | |
// Open serial communications: | |
Serial.begin(9600); | |
pinMode(2, OUTPUT); | |
// send an intro: | |
Serial.println("Enter a value"); | |
Serial.println(); | |
} |
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 <IRremote.h> | |
const int irReceiverPin = 7; | |
const int relayPin = 2; | |
const int ledPin = 11; | |
IRrecv irrecv(irReceiverPin); //create an IRrecv object | |
decode_results decodedSignal; //stores results from IR sensor | |
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
#include <IRremote.h> | |
const int RECV_PIN = 7; | |
const int LED_PIN = 2; | |
const int light= 11; | |
IRrecv irrecv(RECV_PIN); | |
decode_results decodedSignal; //stores results from IR sensor | |
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 <MeetAndroid.h> | |
// declare MeetAndroid so that you can call functions with it | |
MeetAndroid meetAndroid; | |
int redLed = 9; | |
void setup() | |
{ | |
// use the baud rate your bluetooth module is configured to | |
// not all baud rates are working well, i.e. ATMEGA328 works best with 57600 |