Auteur : net23 pierre Henry
Participation :
librairie pour une utilisation simple de la programmation evenementielle
Pierre HENRY d'apres PH_event V1.3.1 P.henry 15/03/2020
Gestion d'evenement en boucle GetEvent HandleEvent
pour commencer utilisez 'event_demo.ino' dans les exemples de 'BetaEvents'
betaEvent.h est une aide pour construire les elements de base d'une programation evenementiel
creer ensuite votre propre gestionaire sur le modèle BetaEvents.h
betaEvent.h construit automatiquement
une instance "Events" avec un poussoir "BP0" une LED "Led0" un clavier "Keyboard"
BP0 genere un evenement evBP0 a chaque pression le poussoir connecté sur BP0_PIN (D5)
Led0 genere un evenement evLed0 a chaque clignotement de la led precablée sur la platine LED_BUILTIN
Keyboard genere un evenement evChar a char caractere recu et un evenement evString a chaque ligne recue
Debug permet sur reception d'un "T" sur l'entrée Serial d'afficher les infos de charge du CPU
V1.0 (21/11/2020)
- Full rebuild from PH_Event V1.3.1 (15/03/2020)
V1.1 (30/11/2020)
- Ajout du percentCPU pour une meilleur visualisation de l'usage CPU
V1.2 02/01/2021
- Ajout d'une globale EventManagerPtr pour l'acces par d'autre lib et respecter l'implantation C++
- Amelioration du iddle mode pour l'ESP8266 (WiFi sleep mode)
V1.3 13/01/2021
- correction pour mieux gerer les pulses dans le cas 0 ou 100 percent
- correction d'une typo setFrequenceLED
V1.4 6/3/2021
- Inclusion TimeLib.h
- Gestion des event en liste chainée
V2.0 20/04/2021
- Mise en liste chainée de modules 'events'
evHandlerSerial Gestion des caracteres et des chaines provenant de Serial
evHandlerLed Gestion d'une led avec ou sans clignotement sur un GPIO (Multiple instance possible)
evHandlerButton Gestion d'un pousoir sur un GPIO (Multiple instance possible)
evHandlerDebug Affichage de l'occupation CPU, de la memoire libre et des evenements 100Hz 10Hz et 1Hz
V2.0.1 26/10/2021
corections evHandlerLed sur le true/false
V2.2 27/10/2021
more arduino like lib with self built in instance
/*************************************************
Sketch betaEvents.ino validation of lib betaEvents to deal nicely with events programing with Arduino
Copyright 2020 Pierre HENRY net23@frdev.com All - right reserved.
This file is part of betaEvents.
betaEvents is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
betaEvents is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with betaEvents. If not, see <https://www.gnu.org/licenses/lglp.txt>.
*************************************************/