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
// XASSIS INICIAL PER UTILITZAR EL SERVIDOR CHIPCHOP.IO | |
// 2024-02-29 EMC | |
// I2Sbcn Institut d'Industria Sostenible de Barcelona | |
#include <Arduino.h> | |
#include <ESP8266WiFi.h> | |
// define max number of tasks to save precious Arduino RAM | |
#define TASKER_MAX_TASKS 10 | |
#include "Tasker.h" | |
Tasker tasker; | |
// Credencials del Wifi |
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
// XASSIS INICIAL PER UTILITZAR EL SERVIDOR CHIPCHOP.IO | |
// 2024-02-29 EMC | |
// I2Sbcn Institut d'Industria Sostenible de Barcelona | |
#include <Arduino.h> | |
#include <ESP8266WiFi.h> | |
// define max number of tasks to save precious Arduino RAM | |
#define TASKER_MAX_TASKS 10 | |
#include "Tasker.h" | |
Tasker tasker; | |
// Credencials del Wifi |
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
import gpio | |
import net | |
import mqtt | |
import encoding.json | |
import device | |
import pubsub | |
CLIENT_ID ::= "IOT2Binefa" | |
HOST ::= "test.mosquitto.org" | |
PORT ::= 1883 |
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
//************************************************************************************************* | |
// _2022_02_02_sensors_analogics.ino * | |
// Xassis per començar amb la nodeMCU Dev Board * | |
// curs 2021-22, 1r CFGS Electromedicina Clínica, Mòdul 09 * | |
// Institut Rambla Prim * | |
// ©Jaume Nogués, jnogues@gmail.com @rprimTech * | |
// Cal baixar-se l'app de: * | |
// http://167.86.87.117/deTot/Blynk%20legacy_v2.27.30_apkpure.com.apk * | |
// o bé de : http://167.86.87.117/deTot/cc.blynk_2021-07-08.apk * | |
//************************************************************************************************* |
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
//************************************************************************************************* | |
// _2021_12_12_xassis_blynk_51_38_35_12.ino * | |
// Xassis per començar amb la nodeMCU Dev Board * | |
// curs 2021-22, 1r CFGS Electromedicina Clínica, Mòdul 09 * | |
// Institut Rambla Prim * | |
// ©Jaume Nogués, jnogues@gmail.com @rprimTech * | |
// Cal baixar-se l'app de: * | |
// http://167.86.87.117/deTot/Blynk%20legacy_v2.27.30_apkpure.com.apk * | |
// o bé de : http://167.86.87.117/deTot/cc.blynk_2021-07-08.apk * | |
//************************************************************************************************* |
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
//Programa eqLog-task.ino | |
//Curs 2021 | |
//llibreria blynk | |
#include <Blynk.h> | |
BlynkTimer taskScheduler;//organitzador de tasques | |
boolean I2=0; | |
boolean I8=0; | |
boolean IA1=0; |
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
//programa HolaMon-2.ino | |
//curs 2021-22, 1r CFGS Electromedicina Clínica, Mòdul 09 | |
//Institut Rambla Prim | |
//jnogues@gmail.com @rprimTech | |
void setup() | |
{ | |
//configurem sortides | |
pinMode(13, OUTPUT); | |
pinMode(3, OUTPUT); |
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
//program entradaAnalogica.ino | |
//curs 2019-20, 1r CFGS Electromedicina Clínica, Mòdul 09 | |
//variables | |
unsigned int valorA0 = 0; | |
//programa | |
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
//program funcionsLogiques.ino | |
//curs 2022-23, 1r CFGS Electromedicina Clínica, Mòdul 09 | |
//Plataform: Arduino UNO | |
//jnogues@gmail.com @rprimTech | |
//variables | |
boolean Q3=0; | |
boolean Q7=0; | |
boolean Q9=0; | |
boolean QA3=0; |
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
//programa HolaMon.ino | |
//plataforma: Arduino UNO | |
//curs 2022-23, 1r CFGS Electromedicina Clínica, Mòdul 09 | |
//Institut Rambla Prim | |
//jnogues@gmail.com @rprimTech | |
void setup() | |
{ | |
pinMode(13, OUTPUT);//configurem pin 13 com sortida | |
} |
NewerOlder