2023.10.03.2326

Fixed bugs in FEATURE_AZ_POSITION_HH12_AS5045_SSI_RELATIVE
This commit is contained in:
k3ng 2023-10-03 19:26:45 -04:00
parent becec3859c
commit dac962649b
3 changed files with 6 additions and 3 deletions

View File

@ -1092,6 +1092,9 @@
2023.10.02.2302
More code in DEBUG_HH12
2023.10.03.2326
Fixed bugs in FEATURE_AZ_POSITION_HH12_AS5045_SSI_RELATIVE
All library files should be placed in directories likes \sketchbook\libraries\library1\ , \sketchbook\libraries\library2\ , etc.
Anything rotator_*.* should be in the ino directory!
@ -11236,7 +11239,7 @@ void initialize_peripherals(){
#endif //defined(FEATURE_AZ_POSITION_POLOLU_LSM303) || defined(FEATURE_EL_POSITION_POLOLU_LSM303)
#ifdef FEATURE_AZ_POSITION_HH12_AS5045_SSI
#if defined(FEATURE_AZ_POSITION_HH12_AS5045_SSI) || defined(FEATURE_AZ_POSITION_HH12_AS5045_SSI_RELATIVE)
azimuth_hh12.initialize(az_hh12_clock_pin, az_hh12_cs_pin, az_hh12_data_pin);
#endif // FEATURE_AZ_POSITION_HH12_AS5045_SSI

View File

@ -104,7 +104,7 @@
#define pin_joystick_y A1
#endif //FEATURE_JOYSTICK_CONTROL
#ifdef FEATURE_AZ_POSITION_HH12_AS5045_SSI
#if defined(FEATURE_AZ_POSITION_HH12_AS5045_SSI) || defined(FEATURE_AZ_POSITION_HH12_AS5045_SSI_RELATIVE)
#define az_hh12_clock_pin 11
#define az_hh12_cs_pin 12
#define az_hh12_data_pin 13

View File

@ -113,7 +113,7 @@
#define blink_led 0 //13
#ifdef FEATURE_AZ_POSITION_HH12_AS5045_SSI
#if defined(FEATURE_AZ_POSITION_HH12_AS5045_SSI) || defined(FEATURE_AZ_POSITION_HH12_AS5045_SSI_RELATIVE)
#define az_hh12_clock_pin 53 //11
#define az_hh12_cs_pin 52 //12
#define az_hh12_data_pin 51 //13