Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

18 lignes
227 B

  1. #include "Logging.h"
  2. namespace logging {
  3. void setup() {
  4. #if _DEBUG
  5. while (!Serial);
  6. #endif
  7. if (Serial) {
  8. Serial.begin(LOG_SERIAL_SPEED);
  9. Log.begin(LOG_LEVEL, &Serial);
  10. Log.notice(F("Starting...\n"));
  11. }
  12. }
  13. }