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 <ESP8266WiFi.h> | |
#include <ESP8266WiFiMesh.h> | |
ESP8266WiFiMesh mesh_node = ESP8266WiFiMesh(ESP.getChipId(), manageRequest); | |
String manageRequest(String request) | |
{ | |
/* Print out received message */ | |
Serial.print("Recibi:"); | |
Serial.println(request); |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
/* run this program using the console pauser or add your own getch, system("pause") or input loop */ | |
int suma(int); | |
int mult(int); | |
void genera(int, int, int); | |
int x,y,z,a,li,ls; | |
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 <SoftwareSerial.h> | |
SoftwareSerial BT1(2, 3); // RX | TX | |
String W =" "; | |
char w ; | |
char A; | |
char R; | |
#define SSID "Contreraslink" | |
#define PASS "contrerasflores" | |
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
int on = 13; | |
int S1 = 12; | |
int S2 = 11; | |
int S3 = 10; | |
int S4 = 9; | |
volatile int c = 0; | |
long T0 = 0 ; | |
int A=500; | |
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 <ESP8266WiFi.h> | |
#include "DHT.h" | |
const char* ssid = "Your SSID"; | |
const char* password = "Your password"; | |
const int sleepTimeS = 600; //18000 for Half hour | |
#define DHTPIN 2 | |
#define DHTTYPE DHT11 | |
char server [] = "weatherstation.wunderground.com"; | |
char WEBPAGE [] = "GET /weatherstation/updateweatherstation.php?"; |
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 <ESP8266WiFi.h> | |
#include <Arduino.h> | |
ADC_MODE(ADC_VCC); | |
const char* ssid = "513570"; | |
const char* password = "H21208269B2B"; | |
const char* host = "maker.ifttt.com"; | |
const String IFTTT_Event = "button"; //Cambiar para vaiedad | |
const int puertoHost = 80; | |
const String Maker_Key = "lidz28r6iDLuC1CrSs_8rYq1geSSs9p9BfEI57gwGsO"; |
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
unit Calculadora; | |
interface | |
uses | |
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, | |
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons; | |
type | |
TForm2 = class(TForm) |
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
/** | |
Copyright 2014-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at | |
http://aws.amazon.com/apache2.0/ | |
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. | |
*/ |
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 <lmic.h> | |
#include <hal/hal.h> | |
#include <SPI.h> | |
#include <math.h> | |
#include <SoftwareSerial.h> | |
#define _USE_GPS_ | |
#ifdef _USE_GPS_ |
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
/* | |
Copyright 2017 Roguish, Inc. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
OlderNewer