[Solved] Serial Print not working

General

ripper121

3 months ago

When I try to run this the Meta shows the SD INIT.. OK and then hangs.

Also no output on the Serial.


Found the problem.... I need to use SerialUSB.print instead of Serial.print

#include <Gamebuino-Meta.h>

void setup() {
  gb.begin();
  Serial.begin(115200);
  Serial.println("TEST");
}

void loop() {
  while (!gb.update());
  gb.display.clear();

  // print "Hello World" to the screen
  gb.display.println("TEST");

  if (gb.buttons.pressed(BUTTON_A)) {
    Serial.println("DIR");
  }
}

You must be logged in in order to post a message on the forum

Log in