profet27a 2.0.0.0
|
PROFET 2 7A Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
PROFET 2 7A Click Example.
This example showcases the ability of the PROFET 2 7A Click board. It configures Host MCU for communication and then enables and disables output channel. Besides that, it reads the voltage of IS pin and calculates current on output for the channel 0.
The demo application is composed of two sections :
Initialization of the communication modules(ADC and UART) and additional pins for controlling the device.
On every iteration of the task device switches between DIAGNOSTIC and OFF mode while it reads the voltage of IS pin and with that calculates current on output for channel 0.
Click board won't work properly on the PIC18F97J94 MCU card.
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 | ) |