hello, everyone
I want to print floating points in STC8 ,but I don t know how to correctly add the compilation flag “-DUSE_FLOATS=1”.
my platfromio.ini is list as follow:
[env:STC8H8K64U]
platform = intel_mcs51
board = STC8H8K64U
build_flags =
-DUSE_FLOATS=1
After doing this, I use the sprintf function, and still can only print “NO FLOAT”.
please help me and think very much.