Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4533778

Browse files
Fix: CAN pins for H7 (both are available).
1 parent 6092e06 commit 4533778

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎variants/PORTENTA_H7_M7/pins_arduino.h‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,12 @@ void _ontouch1200bps_();
164164

165165
#define USB_MAX_POWER (500)
166166

167-
#define CAN_HOWMANY 1
167+
#define CAN_HOWMANY 2
168168

169-
#define PIN_CAN0_TX (PH_13)
170-
#define PIN_CAN0_RX (PB_8)
169+
#define PIN_CAN0_TX (PB_13)
170+
#define PIN_CAN0_RX (PB_5)
171+
172+
#define PIN_CAN1_TX (PH_13)
173+
#define PIN_CAN1_RX (PB_8)
171174

172175
#endif //__PINS_ARDUINO__

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /