File tree 1 file changed +4
-14
lines changed
1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ extern "C" {
48
48
49
49
50
50
// This must be a literal
51
- #define NUM_DIGITAL_PINS 17
51
+ #define NUM_DIGITAL_PINS 18
52
52
// This must be a literal with a value less than or equal to to MAX_ANALOG_INPUTS
53
53
#define NUM_ANALOG_INPUTS 1
54
54
#define NUM_ANALOG_FIRST 1
@@ -63,25 +63,15 @@ extern "C" {
63
63
#define PIN_SPI_MISO PA6
64
64
#define PIN_SPI_SCK PA5
65
65
66
- // Timer Definitions
67
- // Do not use timer used by PWM pins when possible. See PinMap_PWM.
68
- #define TIMER_TONE TIM6
69
-
70
- // Do not use basic timer: OC is required
71
- #define TIMER_SERVO TIM2 //TODO: advanced-control timers don't work
72
-
73
66
// UART Definitions
74
- #define SERIAL_UART_INSTANCE 1 //Connected to ST-Link
75
- // Default pin used for 'Serial' instance (ex: ST-Link)
67
+ #define SERIAL_UART_INSTANCE 1
68
+
76
69
// Mandatory for Firmata
77
70
#define PIN_SERIAL_RX PB7
78
71
#define PIN_SERIAL_TX PB6
79
72
80
- //#define PIN_SERIAL1_RX PB7
81
- //#define PIN_SERIAL1_TX PB6
82
-
83
73
/* Extra HAL modules */
84
- // #define HAL_DAC_MODULE_ENABLED
74
+ #define HAL_ADC_MODULE_DISABLED
85
75
86
76
#ifdef __cplusplus
87
77
} // extern "C"
You can’t perform that action at this time.
0 commit comments