Hi all,
I'm new with just about all of this stuff, so this will be my first post. Also, I know this machine described below is "ancient" but it was free, so why let a good machine go to waste
A friend gave me an old unbranded Cupcake CNC using a Sanguino 1.2 motherboard.
The previous owner burned up the v2.2 Z axis driver board somehow and replaced it with a v1.2. This necessitated making an alteration to the stepper control section of the firmware.
Having made that alteration to the code, I now need to compile and upload to the Sanguino board.
I have added the libraries included with the Master Firmware to my Arduino Library folder, However I still get the following errors:
In file included from SanguinoMasterZmod.ino:28:
Timer1.h:19: error: variable or field 'setTimer1Resolution' declared void
Timer1.h:19: error: 'byte' was not declared in this scope
Timer1.h:65: error: 'byte' does not name a type
Timer1.h: In function 'void setTimer1Ticks(long unsigned int)':
Timer1.h:104: error: 'getTimer1Resolution' was not declared in this scope
Timer1.h:104: error: 'setTimer1Resolution' was not declared in this scope
Timer1.h: In function 'void setupTimer1Interrupt()':
Timer1.h:136: error: 'setTimer1Resolution' was not declared in this scope
In file included from SanguinoMasterZmod.ino:30:
RS485.h: At global scope:
RS485.h:12: error: variable or field 'rs485_tx' declared void
RS485.h:12: error: 'byte' was not declared in this scope
This leads me to believe that I am missing some critical Library relating to Timers??
Any pointers would be greatly appreciated!!