Notifications
Clear all
Topic starter
2021-06-16 2:37 am
In all my years of programming I have never seen this:
display.println(F("Hello, world!"));
What the heck is the "F" for? I see it all over this OLED 1306 example code.
2021-06-16 12:36 pm
The Bald Engineer (awesome website BTW) has a great article on this, I generally refer people to it whenever I get this question:
https://www.baldengineer.com/arduino-f-macro.html
It's very handy when debugging with a lot of Serial.print statements, I used it this week to debug the code for my next video.
😎
Bill
"Never trust a computer you can’t throw out a window." — Steve Wozniak
LydaRA reacted
Topic starter
2021-06-16 4:26 pm
Thanks Bill, would have never figured it out on my own and it actually makes sense.
😉
DroneBot Workshop reacted