- add configurable median filter for axis signals
- replace all configuration preprocessor switches with a calibration
structure stored and loaded from EEPROM
- add more configuration options (invert for all axis, replace reverse
button with the right red button)
- replace ASCII debug serial output with much more efficient binary
serial output
- add a supporting GUI for calibration and configuration
The Arduino IDE requires that a sketch be located in a folder of the same name. Although the name of the repository does match the sketch name, when GitHub's popular Clone or download > Download ZIP feature is used to download the contents of a repository the branch/tag/commit name is appended to the folder name, causing a mismatch.
When opening a file that does not meet this sketch/folder name matching requirement the Arduino IDE presents a dialog:
The file "G27_Pedals_and_Shifter.ino" needs to be inside a sketch folder named "G27_Pedals_and_Shifter".
Create this folder, move the file, and continue?
After clicking "OK" the Arduino IDE currently moves only the file G27_Pedals_and_Shifter.ino to the new folder, leaving behind the other source files. This causes compilation of the sketch to fail:
fatal error: ./lib/G27PedalsShifter.h: No such file or directory
All recent versions of the Arduino IDE restrict recursive compilation to the src subfolder of the sketch folder. The previous use of the lib folder to store the bundled library caused compilation to fail:
C:\Users\per\AppData\Local\Temp\ccJTFh0h.ltrans0.ltrans.o: In function `setup':
C:\Users\per\Desktop\G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino:359: undefined reference to `G27'
C:\Users\per\Desktop\G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino:359: undefined reference to `G27'
C:\Users\per\Desktop\G27_Pedals_and_Shifter/G27_Pedals_and_Shifter.ino:359: undefined reference to `G27_::begin(bool)'
etc.
Reference:
https://github.com/arduino/arduino-builder/pull/148