Skip to content

Error compiling for AtMega32u4 #8

@mike-rankin

Description

@mike-rankin

Sorry to post here but I'm not sure where else to ask for help.
I've installed Arduino IDE 1.6.9 and have an AtMega32u4 connected to a TJA1021 but I'm getting too many compile errors to run the Sniffer sketch.

SerialUSB.begin(9600); // Configure Serial for Serial Monitor ***Should SerialUSB be just Serial?
Sniffer:34: error: 'SerialUSB' was not declared in this scope

I read that for the 32u4 Serial is used on the USB monitor & Serial1 is for the second serial port that needs to talk to the TJA1021.

Sorry again,
0miker0@gmail.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions