Ben Willems / Mbed 2 deprecated MLX90418_I2C_master_bwi

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
bwi
Date:
Thu May 27 13:35:24 2021 +0000
Branch:
master-bwi
Parent:
16:a0bfe33f8a4a
Commit message:
Changed reset pin for the FPGA. Set current limit level to max.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
main_init.h Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri May 21 12:42:56 2021 +0000
+++ b/main.cpp	Thu May 27 13:35:24 2021 +0000
@@ -5,7 +5,7 @@
 
 #define RAM_END_ADDR 0x4B
 
-#define CLIM_LEVEL 0x1F
+#define CLIM_LEVEL 0xFF
 // I_LIM (A) = 4A * CLIM_LEVEL/127
 
 /* Main function */
--- a/main_init.h	Fri May 21 12:42:56 2021 +0000
+++ b/main_init.h	Thu May 27 13:35:24 2021 +0000
@@ -6,7 +6,7 @@
 DigitalOut led2(LED2);
 DigitalOut led3(LED3);
 DigitalOut led4(LED4);
-DigitalOut fpga_rstb(p27);   //p27 of MBED is connectted to p22 of the FPGA CMOD for 90415FPGA_EVB2
+DigitalOut fpga_rstb(p20);   //p27 of MBED is connectted to p22 of the FPGA CMOD for 90415FPGA_EVB2
 
 void reset_fpga(){
     fpga_rstb = 0;