alan broad
/
carbon_v5_arm_studio
arm studio build
Diff: src/commI2C.cpp
- Revision:
- 28:2e22e364a162
- Parent:
- 27:ee9c063a535b
- Child:
- 31:4539c212ecaa
diff -r ee9c063a535b -r 2e22e364a162 src/commI2C.cpp --- a/src/commI2C.cpp Wed Jun 10 14:50:17 2020 +0000 +++ b/src/commI2C.cpp Wed Jun 10 15:34:41 2020 +0000 @@ -29,7 +29,10 @@ //wake.mode(OpenDrain); wake.output(); wake = 1; - wait_ms(10); //proc uses interrupts on lora_wake, so don't need to wait,just pulse it + wait_ms(10); //proc uses interrupts on lora_wake, so don't need to wait,just pulse it + wake = 0; //set wake lo + wait_ms(1); + wake.input(); //go back to input mode !!! wake pull hi if go back to input mode ??? return; } //==============================================================================