Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: b00let on April 10, 2018, 05:19:06 pm
-
Hello there
I am trying to print to the serial console within the setup function, but it never shows up in the console. Same code works fine from Arduino IDE. I need to mention that even waiting for the serial to be ready wouldn;t help. The search results I can find on this issue don't seem to help. Printing from the loop function or any other function works normally. Can someone please advice ?
Best
-
Are you using the same version of Arduino in Arduino IDE and C::B?
Have you compared if the defines passed to the compilers by C::B and Arduino IDE are the same?
Have you checked my Arduino template: https://github.com/obfuscated/cb_arduino_template ?
What OS are you using?
-
The most important media about this site is mostly about what.