Can I print logs from the Jewelbot to the console?


#1

Hi there! I just got started with my Jewelbot after an awesome Hack Night in NYC last night (thanks so much for setting that up!)

I was wondering - is there a way to print logs/debug statements from the Jewelbot to the console? I tried Serial:
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println(“Hello World”);
}

but got this error:
/var/folders/z1/2xz7zv_96cs8qwdzpqgnwgcw0000gq/T/arduino_modified_sketch_928896/sketch_mar22a.ino: In function ‘void setup()’:
sketch_mar22a:3: error: ‘Serial’ was not declared in this scope
Serial.begin(9600);
^
exit status 1
‘Serial’ was not declared in this scope

I’m also not sure what baud rate I would need to use. Would love to know if there’s a way - thanks so much!

Sheridan


#2

Hi Sheridan,

We just added this as the next thing to work on in our timeline. Would definitely be helpful. Will keep you posted!


#3

that’s awesome, thanks for the fast response!


#4

void setup() {
// put your setup code here, to run once:
}

void loop() {
// put your main code here, to run repeatedly:
LED led;
led.turn_on_all(RED);


#5

That the way I did mine.