![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
PID Motor Position Control using ESP8266 WiFi Module, US Digital E4P-100-079, LMD18200 H-Bridge Break Out, and HN-GH12-1634T 30:1 200RPM Motor
Dependencies: 4DGL-uLCD-SE PID QEI SDFileSystem mbed ESP8266_pid_mtrPos_webserver_SDcard_v2
Dependents: ESP8266_pid_mtrPos_webserver_SDcard_v2
Diff: main.cpp
- Revision:
- 8:e92a874cde49
- Parent:
- 7:030e5f34a489
- Child:
- 9:ea167d8bdb4c
--- a/main.cpp Wed Nov 25 02:52:09 2015 +0000 +++ b/main.cpp Wed Nov 25 20:51:57 2015 +0000 @@ -68,7 +68,7 @@ /*********PID CONTROLLER SPECIFIC DECLARATIONS********************************/ /*****************************************************************************/ -static float setpoint, feedback, output; +float setpoint, feedback, output; const float output_lower_limit = -1.0; const float output_upper_limit = 1.0; const float FEEDBACK_SCALE = 1.0/3000.0; // Scale feedback to 1rev/3000cnts