Changes from previous v250 release:
- added support for i2C multiplexer chip TCA9548A (new firmware option "u")
- added support for using two AS5600 magnetic encoders
- 2nd magnetic encoder is on y-axis only and is used as input for yFFB
- added vector struct for scaled x- and y-axis for USB send report
- changing CPR and rotation angle affects both magnetic encoders in the same way (angle from x-axis before change is copied to y-axis)
- center button (both software and hardware) returns both magnetic encoders to zero axis value
- encoder calibration is only done for x-axis (even if 2 FFB axis and two magnetic encoders are used)
- added full support for shift register chips SN74ALS166N or SN74HC165N, for 24 buttons with 3 stacked chips (options "n" + "r")
- created wiring diagram for shift register chips (options "n" + "r")
- created wiring diagram for double AS5600 (options "b" + "w" + "u")
- removed the following 2CH PWM modes: PWM+DIR, PWM0-50-100 and RCM to free up memory when 2 magnetic encoders (AS5600) are used, 2CH PWM+- mode is still available (only for firmware options "b" + "w" + "u")
- compiled additional firmware HEX combinations utilizing newly available features
- fixed PWM signal generation bug
- fixed XY shifter calibration bug
- fixed FFB clip LED bug
- if both SN74ALS166N and XY shifter options are used, there are only 16 buttons available (only 2 chips needed) because last 8 are reserved for XY shifter
Special tnx for suggestions and ideas about shift register chips to johanneslerch and MrCjxer.
Special tnx to Notriatv for pointing out bugs with PWM signal generation.
Special tnx to kick-a-poo and Gandoun for noticing the XY shifter calibration bug.
Special tnx to brunoccosta5 for noticing the FFB clip LED bug.