|
Portier Wireless Le portier sans fil est un système bidirectionnel basé sur un microcontrôleur PIC32MX130F064B-I/SS et un module radio 868 MHz, permettant à un visiteur d’envoyer une requête depuis l’extérieur via un bouton alimenté par piles, et à l’occupant du bureau de répondre par des signaux lumineux et sonores grâce à une unité intérieure alimentée en USB, le tout avec appairage sécurisé et gestion autonome de l’énergie.
|
#include "Mc32Debounce.h"
Fonctions | |
| void | DoDebounce (S_SwitchDescriptor *Descriptor, bool InputValue) |
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
| void | DebounceInit (S_SwitchDescriptor *pDescriptor) |
| bool | DebounceGetInput (S_SwitchDescriptor *pDescriptor) |
| bool | DebounceIsPressed (S_SwitchDescriptor *pDescriptor) |
| bool | DebounceIsReleased (S_SwitchDescriptor *pDescriptor) |
| void | DebounceClearPressed (S_SwitchDescriptor *pDescriptor) |
| void | DebounceClearReleased (S_SwitchDescriptor *pDescriptor) |
Variables | |
| const uint8_t | MaxDebounceCount = 5 |
| void DebounceClearPressed | ( | S_SwitchDescriptor * | pDescriptor | ) |
| void DebounceClearReleased | ( | S_SwitchDescriptor * | pDescriptor | ) |
| bool DebounceGetInput | ( | S_SwitchDescriptor * | pDescriptor | ) |
| void DebounceInit | ( | S_SwitchDescriptor * | pDescriptor | ) |
| bool DebounceIsPressed | ( | S_SwitchDescriptor * | pDescriptor | ) |
| bool DebounceIsReleased | ( | S_SwitchDescriptor * | pDescriptor | ) |
| void DoDebounce | ( | S_SwitchDescriptor * | Descriptor, |
| bool | InputValue ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| const uint8_t MaxDebounceCount = 5 |