Too many input arguments

后端 未结 1 1799
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-27 02:48

I get the following error message about too many input arguments in my fprintf function. But it seems to me that just the right amount of arguments were passed.

All this

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-27 03:43

    There are multiple functions called fprintf, one for files, one for serial objects and some others. You are using functionally which you know from the fprintf for files, but you are using it with a serial object. Check the right documentation which can be accessed via doc serial/fprintf

    0 讨论(0)
提交回复
热议问题