![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
Diff: xDotBridge/inc/nBitAnalogLadder.h
- Revision:
- 33:c7bb3fbc024a
- Parent:
- 31:9c535a708ae9
--- a/xDotBridge/inc/nBitAnalogLadder.h Tue Jan 24 17:13:53 2017 +0000 +++ b/xDotBridge/inc/nBitAnalogLadder.h Tue Jan 24 10:43:55 2017 -0700 @@ -6,6 +6,8 @@ * */ +#include <stdint.h> + #ifndef XDOTBRIDGE_INC_NBITANALOGLADDER_H_ #define XDOTBRIDGE_INC_NBITANALOGLADDER_H_ @@ -27,6 +29,6 @@ {0.0/NOM_VCC, 0.1/NOM_VCC} // 9 }; -uint8_t convAnalogLadder (const float &analogV, const float *valueTable, uint8_t nVals); +uint8_t convAnalogLadder (const float &analogV, const float valueTable[][2], uint8_t nVals); #endif /* XDOTBRIDGE_INC_NBITANALOGLADDER_H_ */