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: TS_DISCO_F746NG mbed Servo LCD_DISCO_F746NG BSP_DISCO_F746NG QSPI_DISCO_F746NG AsyncSerial FastPWM
Diff: graphics.cpp
- Revision:
- 8:5945d506a872
- Parent:
- 5:21a8ac83142c
- Child:
- 12:a25bdf135348
diff -r 3b1f44cd4735 -r 5945d506a872 graphics.cpp
--- a/graphics.cpp Wed May 09 15:42:43 2018 +0000
+++ b/graphics.cpp Wed May 09 17:09:18 2018 +0000
@@ -33,9 +33,10 @@
// Uses our own generated sine and cosines from lookup table. For some unexplained reason, using inbuilt sin and cos fns cause display flicker !
-extern double jcos (double angle); // Used in DrawNeedle, plain sin and cos functions cause display flicker !!
-extern double jsin (double angle);
-
+//extern double jcos (double angle); // Used in DrawNeedle, plain sin and cos functions cause display flicker !!
+//extern double jsin (double angle);
+#define jcos cos
+#define jsin sin
/*void costabgen (int points) {
double angle = 0.0;
while (angle < 2.1 * PI) {