digiisolator2 2.1.0.0
|
DIGI Isolator 2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
DIGI Isolator 2 Click example.
This example demonstrates the use of DIGI Isolator 2 click board by reading and displaying the state of 8 digital input channels.
The demo application is composed of two sections :
Initializes the driver and enables isolator outputs.
Reads the state of 8 digital input channels in hex format where MSB represents IN8 and LSB the channel IN1. The results are displayed on the USB UART every 500ms.
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 | ) |