David Jung
/
MAX32664C_MAXM86146_Mode1_Optical
Mode1 Optical Validation
Diff: main.cpp
- Revision:
- 39:2f2788876776
- Parent:
- 38:8ff33869be1f
- Child:
- 40:b32b644797ba
--- a/main.cpp Tue Apr 05 02:59:06 2022 +0000 +++ b/main.cpp Wed Apr 06 02:44:10 2022 +0000 @@ -906,6 +906,7 @@ pc.printf("raw1.6 part id Status: %x %x\n\r", rsp[0], rsp[1]); // raw1.8 sample rate 100 Hz, ave 1 +// cmd[0] = 0x40; cmd[1] = 0x00; cmd[2] = 0x12; cmd[3] = 0x00; // set AFE reg 0x12 to 25 Hz cmd[0] = 0x40; cmd[1] = 0x00; cmd[2] = 0x12; cmd[3] = 0x18; // set AFE reg 0x12 to 100 Hz // cmd[0] = 0x40; cmd[1] = 0x00; cmd[2] = 0x12; cmd[3] = 0x20; // set AFE reg 0x12 to 200 Hz sh_i2c.write(SH_ADDR, cmd, 4);