Comments (5)
Hi @NoSmoke999. I'm guessing you're using one of the AVR boards like the Uno, classic Nano, Pro Mini, Leonardo, Micro, or Mega. Is that correct?
If so, I think the situation is discussed here: arduino/ArduinoCore-avr#293
from arduino_debugutils.
Hey, correct - using a Uno. The discussion in the link you provided is way above my pay grade so I'll just assume for now that floating pt print can't be done now on an AVR board(?). Anyhow, thank you for the info. :)
PS: If Serial.print(pi); will print the floating pt #, why can't DebugUtils?
from arduino_debugutils.
It's ok not to work and it makes sense.
It should be made clear in the library description for which Arduino boards it works, not to use it on Uno.
from arduino_debugutils.
This seems to be a good way to output floats on nano
float temp=1.2345;
Debug.print(DBG_INFO, "Temp: %s", String(temp, 2).c_str());
from arduino_debugutils.
Closed due to #26 .
from arduino_debugutils.
Related Issues (14)
- Compiler warning/error for "va_start" HOT 6
- Allow getting the debug_level HOT 3
- Add GitHub Actions workflow to synchronise with shared repository labels
- add support for print and println
- The library.properties file date was not updated when the library was updated. HOT 2
- Adding Debug.info() style functions HOT 4
- New release? HOT 1
- `-Wvla` compiler warnings HOT 3
- Unable to print __FILE__ or __PRETTY_FUNCTION__
- Option to format timestamp as [ HH:MM:SS.MMM ] HOT 1
- Option to show debugLevel of each Debug.print() statement (e.g. [V] ...) HOT 2
- function to print current debugLevel as string HOT 2
- Add GitHub Action based CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_debugutils.