Closed kb- closed 4 years ago
@kb- If this was just a change to the CMD's and some added homing logic I would commit this. Can you provide a reason you added I2C code as well? What is its intended purpose? If this is for communicating to CMD via i2c then the code needs to be finished.
I don't think there's much useful left in this.
I dropped the I2C attempts since the SERCOM tends to hang after a while when using I2C in multi master mode. I never figured out why... My goal was to send commands and read data through I2C to multiple devices on the same bus.
Some of the other commands have been implemented already (data, reboot). The current version seems to run fine.
@kb- Thanks. I will go ahead and close.
Renamed command: stop renamed to stopplaner
Added commands: errorpin: set error pin function: 0 enable on high input, 1 enable on low input, 2 high on error output, 3 bidir usbstream: streams time, error and angle data through USB stop: stop USB data stream reboot
Fix: removed delay in nzs_lcd.cpp to avoid lags changed NZS_CONTROL_LOOP_HZ from 6 kHz to 4 kHz to avoid hangs