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.
Dependents: a_team_R1370 ashimawari_sample_test 2022NHK_A_ashimawari 2022A_NHK_kikou
Diff: R1370.cpp
- Revision:
- 4:ffc2a55269f9
- Parent:
- 3:2f00371553c1
- Child:
- 5:553c02009ad0
diff -r 2f00371553c1 -r ffc2a55269f9 R1370.cpp
--- a/R1370.cpp Wed Dec 19 07:44:20 2018 +0000
+++ b/R1370.cpp Sat May 18 08:42:05 2019 +0000
@@ -66,6 +66,11 @@
return (float)(rate / 100.0);
}
+float R1370::getRadian()
+{
+ return (float)(angle / 100.0 / 180.0 * 3.141592653589793);
+}
+
int16_t R1370::getAcc(char l)
{
if(l == 'x' || l == 'X') {