Closed stevempotter closed 1 year ago
Any advice on how to fix?
My guess this is due to the rest of the code you have is out of date, you have to pull the driver and the submodules. There is no need to download the keypad plugin separately as it is already included in the submodules for the iMXRT1062 driver.
Yes, that was the problem. It compiles now, thank you. Perhaps you could include a warning/advice in the keypad wiki: Get this plugin working by refreshing your whole grblHAL codebase, not just that one plugin. This might help avoid this problem for others.
Perhaps for a new thread: What is the status of the MPG mode, and does that require the Encoder plugin? When I tried turning that on, I got a lot of compile errors. Can I have the keypad one-char commands coming in the I2C port, and the encoder pulses coming in the UART header?
. Perhaps you could include a warning/advice in the keypad wiki: Get this plugin working by refreshing your whole grblHAL codebase, not just that one plugin. This might help avoid this problem for others.
Yes, I'll do that at some point - there is a lot of documentation that needs to be written...
What is the status of the MPG mode, and does that require the Encoder plugin?
It should be working now, and no it does not require the encoder plugin.
When I tried turning that on, I got a lot of compile errors.
If you have enabled plugin/features that want to use the same resources then that may happen. Eg. there is only one UART port, if enabling the VFD spindle then MPG mode cannot be enabled at the same time. Post some of the errors and _mymachine.h and I can check if my tests are not good enough or if there is a real bug.
Can I have the keypad one-char commands coming in the I2C port, and the encoder pulses coming in the UART header?
Yes, but I am not sure what you mean by having encoder pulses coming in the UART header, have you remapped those pins for encoder use? If so that may explain why enabling MPG mode causes compiler errors, it needs the UART port.
I have downloaded this Plugin_keypad repo and put its files in the src/keypad folder of the grblHAL_Teensy4 folder. And turned on the keypad plugin in my_machine.h, option 1: I2C. Upon attempting compiling in VScode (Windows 10), I get the following warnings and errors. Any advice on how to fix?