intiial commit
Dependencies: MAX8614X USBDevice max32630hsp_test
Diff: main.cpp
- Revision:
- 24:3981488a0abd
- Parent:
- 23:4afef8872432
--- a/main.cpp Fri Aug 17 02:46:36 2018 +0000 +++ b/main.cpp Fri Aug 17 05:37:08 2018 +0000 @@ -55,6 +55,21 @@ DigitalOut rLED(LED1); DigitalOut gLED(LED2); DigitalOut bLED(LED3); +// main() runs in its own thread in the OS +// (note the calls to Thread::wait below for delays) +/** +* @brief Sample main program for SHA256 Authenication using the MAX86140 +* @version 1.0000.0 +* +* @details Sample main program for MAX86140 authenication. +* The prints are sent to the terminal window (9600, 8n1). +* The program issues challenges to the MAX86140 SHA256 athenicator. +* The responses are compared to the expected responses. +* To run the program, drag and drop the .bin file into the +* DAPLINK folder. After it finishes flashing, cycle the power or +* reset the board. +*/ + int main() { #define CHALLENGE32_LEN 5