Marc Bassecourt
/
Recep_spi_lib
rx
Revision 1:0af2871d628a, committed 2019-11-04
- Comitter:
- marcbassecourt
- Date:
- Mon Nov 04 10:27:39 2019 +0000
- Parent:
- 0:a8a44ece474d
- Commit message:
- Code RX spi lib
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r a8a44ece474d -r 0af2871d628a main.cpp --- a/main.cpp Mon Nov 04 08:27:01 2019 +0000 +++ b/main.cpp Mon Nov 04 10:27:39 2019 +0000 @@ -6,7 +6,8 @@ int main() { while(1) { - ant.setFrequency(43); + ant.initialize(43,1); + ant.setHighPower(true); ant.readAllRegs(); uint8_t test = ant.readReg(0x00); pc.printf("com : 0x%02x\n", test);