..
Esp8266Mod01
#20181018 dire clairement ? valeur pour allumé!
20181014
bac à sable: DellVostro1720Seven, bureau, dossier Arduino-1.6.13 , .ino dans mesdoc\arduino\BlinkBlueLedEsp01? , Esp8266Mod01StationProgrammationPiedJaune
Rappel: la diode rouge, c'est seulement le témoin de l'almentation, inaccessible
NOTE: la constant LED_BUILTIN n'est pas pertinente!
GAFFE: possible que ça change au gré des différents modèles
sur Esp8266mod01number4 (très probablement
) la diode est reliée à la pin Tx donc au signal Gpio1
l'utilisation de la diode interdit l'émission pas la pin Tx
exemple tic/tac diode bleue.
peut-être utilisé sans aucun composant externe pour tester le bon état d'un Esp8266Mod01.
GAFFE: évidemment ça efface tout ancien programme
SURPRISE: ainsi programmé, continue à se connecter à Fbx LeLac
- nom: ESP_D19B4B
- mac: 18:FE:34:D1:9B:4B
- expressif
- Ip par dhcp: 192.168.0.236
mais ne semble pas créer d'AP wifi
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
modifié le 20181014 pour esp01: serial incompatible avec LED sur tx=GIO01
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 takes care
of use the correct LED pin whatever is the board 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 https://www.arduino.cc/en/Main/Products
This example code is in the public domain.
modified 8 May 2014
by Scott Fitzgerald
modified 2 Sep 2016
by Arturo Guadalupi
*/
#define LED 1
// the setup function runs once when you press reset or power the board
void setup() {
delay(1000);
// initialize digital pin LED as an output.
pinMode(LED, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED, !digitalRead(LED)); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
}