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
/** | |
* Name: Grove Beginner Kit for Arduino, example code | |
* Autor: Alberto Gil Tesa | |
* Web: https://giltesa.com/?p=20129 | |
* License: CC BY-NC-SA 4.0 | |
* Version: 1.0 | |
* Date: 2020/08/29 | |
* | |
* https://gist.github.com/giltesa/78ca196e30294fe0389192ea9067dcde | |
*/ |
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
// https://twitter.com/giltesa/status/1003716194778714115 | |
#include <LiquidCrystal.h> | |
#include <MultiTaskLib.h> | |
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); | |
MultiTask multitask(20); | |
const byte ROW = 1; |
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 <Keypad.h> | |
#define COUNT(x) sizeof(x)/sizeof(*x) | |
HardwareSerial &pc = Serial; | |
class User | |
{ | |
public: | |
String name; |
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
/* | |
* giltesa.com | |
* http://www.forocoches.com/foro/showthread.php?t=5646307#post263939450 | |
*/ | |
using System; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
namespace RenameSaves | |
{ |
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
#define pLED 13 | |
#define CORTO 150 | |
#define LARGO 450 | |
#define PAUSALETRA 150 | |
#define PAUSAPALABRA 1350 | |
#define ESPACIO 450 | |
#define COUNT(x) sizeof(x)/sizeof(*x) |
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 <DigiKeyboard.h> | |
#include <EEPROM.h> | |
#define pLED 1 | |
#define EEPROMSIZE 512 | |
const unsigned int year = 31556926; | |
const unsigned int month = 2629743; | |
const unsigned int day = 86400; | |
const unsigned int hour = 3600; | |
const unsigned int minute = 60; |
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
#define count(x) sizeof(x)/sizeof(*x) | |
#define pSPEED A0 // Potenciometro para regular el tiempo que se tarda en hacer el traspaso de tiempo entre escalones | |
#define pLIGHTLED A1 // Potenciometro para regular la intensidad de brillo del primer y ultimo escalon. | |
#define pLDR A2 // LDR para que se activen o no las luces. | |
#define pBUTTON A3 // Interruptor para el activado manual de la luz. | |
#define pUP A4 // Ultrasonidos escalon inferior (subes) | |
#define pDOWN A5 // Ultrasonidos escalon superior (bajas) | |
#define vLDR 100 // Si la lectura del LDR es inferior a este valor las luces se encenderan. | |
#define TIMEADD 5000 // Se suman X milisegundos al cruzar los ultrasonidos. |
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
/** | |
* Name: Arduino - Control de emisoras de radioaficionado | |
* Autor: Alberto Gil Tesa | |
* Web: https://giltesa.com | |
* License: CC BY-NC-SA 3.0 | |
* Version: 2.0.3 | |
* Date: 2018/01/08 | |
* | |
* Arduino Micro, Pinout: | |
* _______________ |
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
/** | |
* ARDUINO REMOTE CONTROL OF LIGHTING AND FAN (CRA) | |
* | |
* Author: Alberto Gil Tesa | |
* Website: http://giltesa.com/tag/cra | |
* License: http://creativecommons.org/licenses/by-nc-sa/3.0 | |
* Version: 2014/08/27 - 2.0 | |
*/ | |