nombre del proyecto
: Nombre del proyecto final por definir
Haces un proyecto conjuntos con @iobotic: Display NeoPixel que muestre la cantidad de subcriptores en tiempo real, usando la api de Youtube con un servidoe nodejs y ESP32/ESP8266
import paho.mqtt.client as mqtt | |
def on_connect(client, userdata, flags, rc): | |
print("Se conecto a con mqtt "+str(rc)) | |
client.subscribe("ALSW/#") | |
def on_message(client, userdata, msg): | |
if msg.topic == "ALSW/temp": |
#include <SoftwareSerial.h>//Se puede emular mas de un puerto Serial | |
SoftwareSerial BTSerial(10, 11); // RX | TX Poner los pines que usas | |
char data = 0; | |
int arranque = 0; | |
int enclavamiento = 0; | |
int paro = 0; | |
int estado = 0; | |
int reversible = 0; |
./FreeCAD_0.18-16146-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage | |
/tmp/.mount_FreeCAIOmWUW | |
FreeCAD 0.18, Libs: 0.18R16146 (Git) | |
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019 | |
##### #### ### #### | |
# # # # # # | |
# ## #### #### # # # # # | |
#### # # # # # # # ##### # # | |
# # #### #### # # # # # | |
# # # # # # # # # ## ## ## |
# Boton 9 de Reproducir | |
"xvkbd -no-jump-pointer -xsendevent -text '\[space]'" | |
b:9 | |
# Boton 8 de Salvar | |
"xvkbd -no-jump-pointer -xsendevent -text '\Cs'" | |
b:8 |
boolean EstadoRele[6] = {false, false, false, false, false, false}; | |
int PinRele[6] = {3, 4, 5, 6, 7, 8}; | |
void setup() { | |
Serial.begin(9600); | |
for (int i = 0; i < 6; i++) { | |
pinMode(PinRele[i], OUTPUT); | |
digitalWrite(PinRele[i], 0); | |
} | |
} |
//import processing.serial.*; | |
//Serial MiPuerto; | |
color ColorCirculo1 = color(255, 0, 0); | |
color ColorCirculo2 = color(255, 0, 0); | |
color ColorCirculo3 = color(255, 0, 0); | |
color ColorCirculo4 = color(255, 0, 0); | |
color ColorCirculo5 = color(255, 0, 0); | |
color ColorCirculo6 = color(255, 0, 0); |
/* | |
Blink | |
Turns an LED on for one second, then off for one second, repeatedly. | |
Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO | |
it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to | |
the correct LED pin independent of which board is used. | |
If you want to know what pin the on-board LED is connected to on your Arduino | |
model, check the Technical Specs of your board at: |