Page 1 of 1

STM32F103C and arduino IDE

Posted: Thu Apr 30, 2020 8:39 pm
by caneiv
Hello, i'm making a project with an STM32F103C+MCP2551 for sending and receiving data through CANBUS. Everything works, but i want to add 2 buttons for additional funcions. The software im using is ARDUINO IDE. I need help with making the code, in particular how to declare the buttons like input and the PINs for them (ON ARDUINO IDE!!)

Re: STM32F103C and arduino IDE

Posted: Thu Apr 30, 2020 10:26 pm
by stas2z
Oh, come on, you've implemented CAN and stucked with basic GPIO?
pinMode/digitalRead will help you