TinyCircuits

Can't Compile SerialUSB.begin(9600); for TinyScreenPlus

Can't Compile SerialUSB.begin(9600); for TinyScreenPlus
« 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);

Re: Can't Compile SerialUSB.begin(9600); for TinyScreenPlus
« Reply #1 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

Re: Can't Compile SerialUSB.begin(9600); for TinyScreenPlus
« Reply #2 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