nanoI2CSlaveExpander
ARDUINO Nano v3 used as I2C slace digital and analog io expander for ESP8266 and others...
flasher.ino
Go to the documentation of this file.
1 /**
2 * @file flasher.ino
3 * @author J.Soranzo
4 * @date 5/01/2019
5 * @copyright 2019 CC0
6 * @version git_versionning
7 * @brief A sample of how to use the CFlasherNanoExp class of the project nanoI2CIOExpander
8 */
9 
10 #include <nanoI2CIOExpLib.h>
11 
12 
14 
15 void setup(){
16  Serial.begin(9600);
17  Serial.println( "Nano I2C IO Flasher sample start.");
18 
19  flashingLed.begin( 1, 100, 500, 4, 5000 );
20  // flashingLed.reverseMode();
21 }
22 
23 void loop(){
25 
26 }
void loop()
Definition: flasher.ino:23
a Class to flash a LED through nanoI2CIOExpander...
void begin(int pin, unsigned long ton, unsigned long toff)
to prepare Led Flashing...
Header file of the class CNanoI2CIOExpander...
void setup()
Definition: flasher.ino:15
CFlasherNanoExp flashingLed
Definition: flasher.ino:13
void update()
This function should be call periodicly.