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:
- 10:6d9d70a240fd
- Parent:
- 9:2b028ee421ad
- Child:
- 11:d65d6d7fc85e
--- a/main.cpp Mon Feb 23 20:08:25 2015 +0000
+++ b/main.cpp Mon Feb 23 20:21:15 2015 +0000
@@ -98,11 +98,11 @@
//...
//uint8_t shitnum = uint8_t(*TFC_LineScanImage0>>3);
uint8_t shitnum = 1;
- if (*(TFC_LineScanImage0+64) > 400)
+ if (*(TFC_LineScanImage0+64) > 800)
shitnum = 15;
- else if((*TFC_LineScanImage0 > 350))
+ else if((*(TFC_LineScanImage0+64) > 450))
shitnum = 7;
- else if((*TFC_LineScanImage0 > 300))
+ else if((*(TFC_LineScanImage0+64) > 400))
shitnum = 3;
else
shitnum = 1;