Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Uno"
ArCOM.cpp:42:6: error: prototype for 'void ArCOM::writeUint16(short unsigned int)' does not match any in class 'ArCOM'
void ArCOM::writeUint16(unsigned short int2Write) {
^~~~~
In file included from C:\Users\chenlab\Downloads\RotaryEncoderModule\ArCOM.cpp:22:0:
ArCOM.h:44:8: error: candidate is: void ArCOM::writeUint16(uint16_t)
void writeUint16(uint16_t int2Write);
^~~~~~~~~~~
ArCOM.cpp:65:16: error: prototype for 'short unsigned int ArCOM::readUint16()' does not match any in class 'ArCOM'
unsigned short ArCOM::readUint16() {
^~~~~
In file included from C:\Users\chenlab\Downloads\RotaryEncoderModule\ArCOM.cpp:22:0:
ArCOM.h:54:12: error: candidate is: uint16_t ArCOM::readUint16()
uint16_t readUint16();
^~~~~~~~~~
ArCOM.cpp:214:6: error: prototype for 'void ArCOM::readInt16Array(short int*, unsigned int)' does not match any in class 'ArCOM'
void ArCOM::readInt16Array(short numArray[], unsigned int nValues) {
^~~~~
In file included from C:\Users\chenlab\Downloads\RotaryEncoderModule\ArCOM.cpp:22:0:
ArCOM.h:69:8: error: candidate is: void ArCOM::readInt16Array(int16_t*, unsigned int)
void readInt16Array(int16_t numArray[], unsigned int size);
^~~~~~~~~~~~~~
RotaryEncoderModule:39:28: error: no matching function for call to 'QuadEncoder::QuadEncoder(int, int, int)'
QuadEncoder hwEnc(1, 7, 8);
^
In file included from C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:28:0:
C:\Users\chenlab\Documents\Arduino\libraries\QuadEncoder/QuadEncoder.h:17:5: note: candidate: QuadEncoder::QuadEncoder(int, int)
QuadEncoder(int pin1, int pin2);
^~~~~~~~~~~
C:\Users\chenlab\Documents\Arduino\libraries\QuadEncoder/QuadEncoder.h:17:5: note: candidate expects 2 arguments, 3 provided
C:\Users\chenlab\Documents\Arduino\libraries\QuadEncoder/QuadEncoder.h:14:7: note: candidate: constexpr QuadEncoder::QuadEncoder(const QuadEncoder&)
class QuadEncoder
^~~~~~~~~~~
C:\Users\chenlab\Documents\Arduino\libraries\QuadEncoder/QuadEncoder.h:14:7: note: candidate expects 1 argument, 3 provided
C:\Users\chenlab\Documents\Arduino\libraries\QuadEncoder/QuadEncoder.h:14:7: note: candidate: constexpr QuadEncoder::QuadEncoder(QuadEncoder&&)
C:\Users\chenlab\Documents\Arduino\libraries\QuadEncoder/QuadEncoder.h:14:7: note: candidate expects 1 argument, 3 provided
RotaryEncoderModule:40:3: error: 'IntervalTimer' does not name a type
IntervalTimer hardwareTimer;
^~~~~~~~~~~~~
RotaryEncoderModule:42:13: error: 'SerialUSB' was not declared in this scope
ArCOM myUSB(SerialUSB); // USB is an ArCOM object. ArCOM wraps Arduino's SerialUSB interface
^~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:42:13: note: suggested alternative: 'Serial'
ArCOM myUSB(SerialUSB); // USB is an ArCOM object. ArCOM wraps Arduino's SerialUSB interface
^~~~~~~~~
Serial
RotaryEncoderModule:48:25: error: 'Serial1' was not declared in this scope
ArCOM StateMachineCOM(Serial1);
^~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:48:25: note: suggested alternative: 'Serial'
ArCOM StateMachineCOM(Serial1);
^~~~~~~
Serial
RotaryEncoderModule:126:1: error: 'elapsedMicros' does not name a type
elapsedMicros currentTime;
^~~~~~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino: In function 'void setup()':
RotaryEncoderModule:176:3: error: 'SerialUSB' was not declared in this scope
SerialUSB.begin(115200);
^~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:176:3: note: suggested alternative: 'Serial'
SerialUSB.begin(115200);
^~~~~~~~~
Serial
RotaryEncoderModule:181:5: error: 'Serial1' was not declared in this scope
Serial1.begin(1312500);
^~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:181:5: note: suggested alternative: 'Serial'
Serial1.begin(1312500);
^~~~~~~
Serial
RotaryEncoderModule:195:11: error: 'class QuadEncoder' has no member named 'setInitConfig'
hwEnc.setInitConfig();
^~~~~~~~~~~~~
RotaryEncoderModule:196:11: error: 'class QuadEncoder' has no member named 'init'
hwEnc.init();
^~~~
RotaryEncoderModule:214:5: error: 'hardwareTimer' was not declared in this scope
hardwareTimer.begin(updatePosition, 100);
^~~~~~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:214:5: note: suggested alternative: 'HardwareSerial'
hardwareTimer.begin(updatePosition, 100);
^~~~~~~~~~~~~
HardwareSerial
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino: In function 'void loop()':
RotaryEncoderModule:284:13: error: 'currentTime' was not declared in this scope
currentTime = 0; // Reset clock
^~~~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:284:13: note: suggested alternative: 'currentDir'
currentTime = 0; // Reset clock
^~~~~~~~~~~
currentDir
RotaryEncoderModule:303:26: error: 'currentTime' was not declared in this scope
newEventTime = currentTime;
^~~~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:303:26: note: suggested alternative: 'currentDir'
newEventTime = currentTime;
^~~~~~~~~~~
currentDir
RotaryEncoderModule:408:17: error: 'class QuadEncoder' has no member named 'write'
hwEnc.write(0);
^~~~~
RotaryEncoderModule:412:26: error: 'currentTime' was not declared in this scope
newEventTime = currentTime;
^~~~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:412:26: note: suggested alternative: 'currentDir'
newEventTime = currentTime;
^~~~~~~~~~~
currentDir
RotaryEncoderModule:485:19: error: 'class QuadEncoder' has no member named 'write'
hwEnc.write((uint32_t)EncoderPos);
^~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino: In function 'void updatePosition()':
RotaryEncoderModule:610:24: error: 'class QuadEncoder' has no member named 'read'
EncoderPos = hwEnc.read();
^~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino: In function 'void processPosition()':
RotaryEncoderModule:653:19: error: 'class QuadEncoder' has no member named 'write'
hwEnc.write(EncoderPos); nWraps--;
^~~~~
RotaryEncoderModule:656:19: error: 'class QuadEncoder' has no member named 'write'
hwEnc.write(EncoderPos); nWraps++;
^~~~~
RotaryEncoderModule:670:19: error: 'class QuadEncoder' has no member named 'write'
hwEnc.write(EncoderPos); nWraps++;
^~~~~
RotaryEncoderModule:674:19: error: 'class QuadEncoder' has no member named 'write'
hwEnc.write(EncoderPos); nWraps--;
^~~~~
RotaryEncoderModule:682:48: error: 'currentTime' was not declared in this scope
timeBuffer[thisInd][currentPositionBuffer] = currentTime;
^~~~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:682:48: note: suggested alternative: 'currentDir'
timeBuffer[thisInd][currentPositionBuffer] = currentTime;
^~~~~~~~~~~
currentDir
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino: In function 'void dacWrite()':
RotaryEncoderModule:738:5: error: 'digitalWriteFast' was not declared in this scope
digitalWriteFast(DAC_CS_Pin,LOW);
^~~~~~~~~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:738:5: note: suggested alternative: 'digitalWrite'
digitalWriteFast(DAC_CS_Pin,LOW);
^~~~~~~~~~~~~~~~
digitalWrite
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino: In function 'void powerUpDAC()':
RotaryEncoderModule:752:5: error: 'digitalWriteFast' was not declared in this scope
digitalWriteFast(DAC_CS_Pin,LOW);
^~~~~~~~~~~~~~~~
C:\Users\chenlab\Downloads\RotaryEncoderModule\RotaryEncoderModule.ino:752:5: note: suggested alternative: 'digitalWrite'
digitalWriteFast(DAC_CS_Pin,LOW);
^~~~~~~~~~~~~~~~
digitalWrite
exit status 1
prototype for 'void ArCOM::writeUint16(short unsigned int)' does not match any in class 'ArCOM'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.