I messed up the merge, so pushing it over to another repo so I don't lose it. Will tidy up and remove later

Dependencies:   BufferedSerial FatFileSystemCpp mbed

Revision:
80:0b7f1b85b626
Parent:
17:5ce3fe98e76d
--- a/FIZ_readers/FIZReader.h	Thu Aug 25 16:16:31 2022 +0000
+++ b/FIZ_readers/FIZReader.h	Tue Aug 30 09:33:44 2022 +0000
@@ -1,6 +1,7 @@
 #ifndef __FIZReader_H__
 #define __FIZReader_H__
 #include "BufferedSerial.h"
+#include <vector>
 
 class FIZReader {
 
@@ -14,7 +15,10 @@
 
 protected:
   int hexValue(char ascii);
-
+  unsigned int getAbsoluteValue(unsigned int encoder_pos, vector<unsigned int> &encoder_range, vector<unsigned int> &absolute_range);
+  uint32_t getAbsoluteFocus(uint32_t encoder_pos);
+  uint16_t getAbsoluteIris(uint16_t encoder_pos);
+  uint16_t getAbsoluteZoom(uint16_t encoder_pos);
   RawSerial _port;
    
     uint32_t _focus; // in mm