Commit f90fa156 authored by root's avatar root Committed by Mathieu Maret

Add new

parent 0159f516
This library is intended to interact with button pluged on a ESP8266 using the Arduino SDK
Code Example
#include <HIB.h>
HIB *button ;
HIB *button2 ;
void onButtonPressed(uint8_t pin){
Serial.printf("Sketch on button %d pressed \n", pin);
void setup() {
// put your setup code here, to run once:
button = new HIB(0, HIGH, onButtonPressed);
button2 = new HIB(4, HIGH, onButtonPressed);
void loop() {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment