Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 7:9cbf4da70f36
- Parent:
- 6:be9a6932c869
- Child:
- 8:f8c0d1bb0cd9
--- a/main.cpp Sat Mar 31 12:13:59 2018 +0000 +++ b/main.cpp Tue Apr 10 11:43:05 2018 +0000 @@ -21,8 +21,10 @@ * . The commands are 7bit, the 8th bit is a stop bit and must be zero * . The sensor will reply to the command with 0xfe, e.g. has it own stop bit * . If 0xfe is not receieved error condition has happened - * . This starts the command, but does not complete it + * . This starts the command * . Chip Select (CS) must be pulled high (inactive) after every command + * . This can either be immediatly after issuing the command + * . or after any delay needed for the command to execute * . The linear cooeficients are held in the PROM * . This has a CRC4 check sum * . The CRC4 check sum is based on the polymonial 0x13=x^4+x+1