mirror of
https://github.com/k3ng/k3ng_rotator_controller.git
synced 2024-12-19 21:27:56 +00:00
2023.10.03.2326
Fixed bugs in FEATURE_AZ_POSITION_HH12_AS5045_SSI_RELATIVE
This commit is contained in:
parent
becec3859c
commit
dac962649b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user