Skip to content
Snippets Groups Projects
Commit a7b2dc35 authored by Malaurie Bernard's avatar Malaurie Bernard
Browse files

Changing every pump syringe by synringe pump (juste the name)

parent ccaf0928
No related branches found
No related tags found
1 merge request!17Malaurie's work on UI + CLI interface + AccelStepper interface
...@@ -140,11 +140,11 @@ float SyringeFilled :: move() ...@@ -140,11 +140,11 @@ float SyringeFilled :: move()
if (whereStep() == 0) //If we are putting the syringe for the first time if (whereStep() == 0) //If we are putting the syringe for the first time
{ {
moveToMm(pump_syringe_length_mm - remaining_volume_mm3/section_mm2); moveToMm(syringe_pump_length_mm - remaining_volume_mm3/section_mm2);
} }
else else
{ {
float initial_position_mm = pump_syringe_length_mm - remaining_volume_mm3/section_mm2; float initial_position_mm = syringe_pump_length_mm - remaining_volume_mm3/section_mm2;
if (get_push()) //If we want to deliver some liquid if (get_push()) //If we want to deliver some liquid
{ {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <ArduinoJson.h> #include <ArduinoJson.h>
#include "math.h" #include "math.h"
#define pump_syringe_length_mm 50 #define syringe_pump_length_mm 50
class SyringeFilled : public Motor class SyringeFilled : public Motor
{ {
...@@ -27,7 +27,7 @@ class SyringeFilled : public Motor ...@@ -27,7 +27,7 @@ class SyringeFilled : public Motor
//Syringe //Syringe
Syringe* _id_syringe; //Not sure how to manage it Syringe* _id_syringe; //Not sure how to manage it
//Pump-Syringe //Syringe_Pump
float _screw_thread_mm; float _screw_thread_mm;
bool _clockwise_equals_forward; bool _clockwise_equals_forward;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment