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.
Dependencies: mbed Motordriver
Diff: main1.cpp
- Revision:
- 3:5b09cb69d476
- Parent:
- 2:ef1505fe5b96
diff -r ef1505fe5b96 -r 5b09cb69d476 main1.cpp
--- a/main1.cpp Sat Mar 02 18:59:32 2019 +0000
+++ b/main1.cpp Sat Mar 02 21:31:05 2019 +0000
@@ -46,7 +46,7 @@
}else if((X0)>150){
X1=map(X0,150, 256, 0, 256);
}
- X=X1/256;
+ X=X1/512;
//ZMIENNA Y
if(Y0>100 && Y0<150){ //uwzględniam drganie styków
@@ -56,7 +56,7 @@
}else if((Y0)>150){
Y1=map(Y0,150, 256, 0, 256);
}
- Y=Y1/256;
+ Y=Y1/512;
//----------wyświetl diagnostyke---------
/*