Jon Freeman / Mbed 2 deprecated Brute_TS_Controller_2018_11

Dependencies:   TS_DISCO_F746NG mbed Servo LCD_DISCO_F746NG BSP_DISCO_F746NG QSPI_DISCO_F746NG AsyncSerial FastPWM

Revision:
8:5945d506a872
Parent:
5:21a8ac83142c
Child:
12:a25bdf135348
--- 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)  {