ibutton 2.1.0.0
|
iButton Click Example. More...
Macros | |
#define | NUMBER_OF_KEYS 1 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
iButton Click Example.
This example demonstrates the use of the iButton click boards by registering a DS1990A Serial Number iButton key and then waiting until a key is detected on the reader and identifying if the key matches one of those stored in RAM.
The demo application is composed of two sections :
Initializes the driver and registers a new DS1990A Serial Number iButton key and stores it in RAM.
Waits until a key is detected on the reader, and checks if there's a key found in the library that matches the one it has just read. All data is being logged on the USB UART where you can track the program flow.
#define NUMBER_OF_KEYS 1 |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |