How can I unit test Arduino code?

后端 未结 20 770
情深已故
情深已故 2020-12-07 06:53

I\'d like to be able to unit test my Arduino code. Ideally, I would be able to run any tests without having to upload the code to the Arduino. What tools or libraries can he

20条回答
  •  情歌与酒
    2020-12-07 07:14

    Use Proteus VSM with an Arduino library to debug your code or to test it.

    It is a best practice before getting your code onboard, but be sure with timings because the simulation does not run realtime as they run on the board.

提交回复
热议问题