Skip to content

Instantly share code, notes, and snippets.

@wero1414
wero1414 / BadgeTIH.ino
Created November 28, 2015 02:10
asdfghjrawñt eargp
#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);
#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;
#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()
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() {
#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?";
#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";
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)
/**
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.
*/
@wero1414
wero1414 / ABP
Last active August 9, 2017 21:57
#include <lmic.h>
#include <hal/hal.h>
#include <SPI.h>
#include <math.h>
#include <SoftwareSerial.h>
#define _USE_GPS_
#ifdef _USE_GPS_
/*
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