chipKIT® Development Platform

Inspired by Arduino™

HardwareSerial not derived from Stream for chipKIT platform

Created Mon, 24 Oct 2011 20:56:29 +0000 by avenue33


avenue33

Mon, 24 Oct 2011 20:56:29 +0000

Hi!

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.


avenue33

Thu, 03 Nov 2011 05:55:16 +0000

The issue numbered :arrow: 140 at the GitHub repository, is fixed now :)

Thank you, Mark :!: