Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • I am the person and I need to learn that. In "easily" I mean like in arduino with the usual digitalRead(pin) for pin in 2..13 and A0..A7 and analogRead(pin) for pin in A0..A7 (avoiding A4/A5 for I2C). Just link Wire library, set some callback function like void receiveEvent(int howMany) . Without going to disable reset, repurpose Xtal pins and so on to get more available pins or other black magic. I consider the whole task easy on Arduino Mini Pro with MCP23017. So the question is like would it be on equal "easy" on STM32 ? Commented Apr 23, 2017 at 15:53
  • 1
    Putting aside the additional task of setting up too chains for STM32, yes, the tasks would be equally easy if you have the corresponding libraries. Commented Apr 23, 2017 at 21:09
  • if you don't have the corresponding libraries, the task is not difficult if you reasonably proficient in reading / understanding datasheet and coding to it. Commented Apr 23, 2017 at 21:10
  • I can for example basically write a set of code that runs across the arduino and pretty much any chips I want, by hooking in the appropriate libraries as middleware. Commented Apr 23, 2017 at 21:11
  • Thank you, so it is decided and I wil go with STM32. I will set the compile/upload chains anyway, and I just found Wire library for STM32, so everything should go reasonable well :) Commented Apr 23, 2017 at 21:55