non-zero float is generated as \0 in sprintf

后端 未结 0 1908
星月不相逢
星月不相逢 2020-12-11 14:20

I\'m working with psoc creator, and I\'m trying to print a float between -1 and 1 to an I2C OLED. To get this working I\'m using the function sprintf. I added the following

相关标签:
回答
  • 消灭零回复
提交回复
热议问题