-
Notifications
You must be signed in to change notification settings - Fork 5
Printing floats with printf doesn't work on my TeensyLC
TeensyUser edited this page Mar 21, 2020
·
1 revision
The code required for the printf type of functions gets very large when you use floating point numbers. If you set the optimize option to 'Smallest Code', the linker uses a reduced sets of standard libraries which do not implement printf for floats. (This is true for all Teensies, not only LC)
- Note: TeensyLC uses 'Smallest Code' as default.
- Corresponding forum post
Teensy is a PJRC trademark. Notes here are for reference and will typically refer to the ARM variants unless noted.