intiial commit

Dependencies:   MAX8614X USBDevice max32630hsp_test

Files at this revision

API Documentation at this revision

Comitter:
phonemacro
Date:
Fri Aug 17 05:37:08 2018 +0000
Parent:
23:4afef8872432
Commit message:
Added comments to main.

Changed in this revision

MAX8614X.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MAX8614X.lib	Fri Aug 17 02:46:36 2018 +0000
+++ b/MAX8614X.lib	Fri Aug 17 05:37:08 2018 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/teams/MaximIntegrated/code/MAX8614X/#6ec3bc44f055
+https://os.mbed.com/teams/MaximIntegrated/code/MAX8614X/#1f7b8cb07e26
--- 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