TinyCircuits Forum

General Category => General Discussion => Topic started by: jgavlik on October 05, 2019, 12:58:29 PM

Title: Can't Compile SerialUSB.begin(9600); for TinyScreenPlus
Post by: jgavlik on October 05, 2019, 12:58:29 PM
I can't seem to compile the following in my TinyScreenPlus sketch Setup

serialUSB.begin(9600);

It says 'serialUSB' was not declared in this scope.

Everything else I have works.

Here are the libs (below) taken from the example code for the TinyScreenPlus

Any suggestions???

-john


//
//--------------Libaries---------------------
//

#include <Wire.h>
#include <SPI.h>
#include <TinyScreen.h>

//Library must be passed the board type
//TinyScreenPlus for TinyScreen+
TinyScreen display = TinyScreen(TinyScreenPlus);
Title: Re: Can't Compile SerialUSB.begin(9600); for TinyScreenPlus
Post by: lennevia on October 08, 2019, 09:44:51 AM
Hello jgavlik,

TinyScreen+'s should most definitely work with the SerialUSB command. It's likely that you need to download a board package in order to properly interface with your TinyScreen+. So that under the Tools tab you should be able to select your "Board:" as "TinyScreen+" and your "Port: " as "COMXX (TinyScreen+)"

Double-check the getting started tutorial here to make sure you have all the necessary software: https://learn.tinycircuits.com/Processors/TinyScreen+_Setup_Tutorial/

I hope that helps!

-Réna
Title: Re: Can't Compile SerialUSB.begin(9600); for TinyScreenPlus
Post by: jgavlik on October 08, 2019, 11:10:51 AM
-Réna,

Got it to work!!

Looks like SerialUSB is case sensitive...I was using a small-case "s" as in serialUSB...now with a large-case "S" as in SerialUSB it works...thanks again,

John