chipKIT32/chipKIT32-MAX — Issue #140: HardwareSerial not derived from Stream for chipKIT platform
Author: rei-vilo
Created: 2011-10-25 20:57:54+00:00
State: open

The HardwareSerial header for the Arduino platform at Mpide.app/Contents/Resources/Java/hardware/arduino/cores/arduino includes

#include "Stream.h"

but not the version for the chipKIT platform at Mpide.app/Contents/Resources/Java/hardware/pic32/cores/pic32

On my serial LCD library, I'm using 3 kinds of stream-derived serial ports: hardware (HardwareSerial), software (NewSoftSerial) and I2C (i2cSerial). I could deal with any of those 3 kinds of serial ports with the same code.

The hardware serial port works fine on the Arduino platform but not in the chipKIT platform.

How to fix that? Thank you.