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

Started by jgavlik, October 05, 2019, 12:58:29 PM

Previous topic - Next topic

jgavlik

****
Sr. Member
Posts: 68
Logged
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);

lennevia

Administrator
*****
Hero Member
Posts: 437
Logged
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

jgavlik

****
Sr. Member
Posts: 68
Logged
-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

SMF spam blocked by CleanTalk