PIO doesn't build Teensy Floating point support?

Add this somewhere in your sketch:

  // this is the magic trick for printf to support float
  asm(".global _printf_float");

And this if you need scanf to support float:

  // this is the magic trick for scanf to support float
   asm(".global _scanf_float");
1 Like