* Programmable outputs
* Prevent array overflow
* Show fullStatus variables names on dialog
* Further fixes
* Update with master
Co-authored-by: Josh Stewart <josh@noisymime.org>
* Fix building for FRAM with globals.h setting
On request of vitor boss. A lot has been changed around to make the selection of EEPROM emulation type from the globals.h (including FRAM selection)
* Add support for EEPROM emulation on internal flash of STM32F7
* Updates on SPI Flash EEPROM
* Fix building for BACKUPSRAM as EEPROM.
* Add put() and get() functions to the EEPROM emulation. This is needed for the latest terminstor and other calibrations routines
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
* Iac automatic resolution
Fix idle stepper, work direct with values < 255 and keep existing mode
* Fixed Hysteresis for stepper
0 value bug the counter.
* Fix value
Changed value to 255.
* Ensure no overflow on iacMaxSteps
Co-authored-by: Josh Stewart <josh@noisymime.org>
* Half sync indicator for 3 different trigger patterns.
Added half sync indicator which shows that there is only primary trigger present for missing tooth, dual wheel and miata 9905 trigger patterns
* missing tooth required some adjusting
* forgot to remove stm32 pin mapping. I have it in other PR
* Leave only for missing tooth
Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
Co-authored-by: Josh Stewart <josh@noisymime.org>
* fix to serial0 and serial3 when offset is 0 uses wrong command
* fix to serial0 and serial3 when offset is 0 uses wrong command
* fix hex num
* add teensy canbus library
teensy can read and write functions enabled
* update to teensyduino 1.49
* part 1 prepare structure for obd can port works
rename old can_command() to secondarySerial_command() for secondary serial and create new can_command for real CAN instruction decode.
fix masking for teensy 3x and 4
* set mega as default build
* last part of main obd2 canbus for teensy MCU
* tested obd2 for teensy3.5
* Only init CAN on Teensy with 3.5. Otherwise this will lockup on 4.1
Co-authored-by: Josh Stewart <josh@noisymime.org>
* [VVT] PID work
Tested on a half moon CAM pattern as working, it should work on others too.
Added option to reverse the PWM output
Co-Authored-By: pazi88 <48950874+pazi88@users.noreply.github.com>
* Fix typo
Co-Authored-By: diy-efi <diy-efi@users.noreply.github.com>
* Add second VVT pwm on same timer
All precious VVT variables was renamed to VVT1 and added VVT2 stuff.
Tested with logic analyzer.
* Define VVT2 for other boards
Added vvt2Pin
* Just update on first tooth
Co-authored-by: pazi88 <48950874+pazi88@users.noreply.github.com>
Co-authored-by: diy-efi <diy-efi@users.noreply.github.com>
* Update sensors.ino
Prevent vbatt reading form going negative due to the vatVoltCorrect and overflowing the uint variable.
Variable changed to signed int and added check to correct if gone negative.
Thought given that all filters using the temp variable shoud remain working.
* Update sensors.ino