Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

18 linhas
224 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("Starting...\n");
  11. }
  12. }
  13. }