HelTecAutomation / CubeCell-Arduino

Heltec CubeCell Series (based on ASR6501, ASR6502 chip) Arduino support.
250 stars 138 forks source link

'class softSerial' has no member named 'write' #214

Closed 1Ghasthunter1 closed 2 years ago

1Ghasthunter1 commented 2 years ago

After looking at the softSerial.h and softSerial.cpp files, the write member seems to be return type of size_t, which seems to cause this error.

Is there something I'm missing about sending a byte array to a serial device?

1Ghasthunter1 commented 2 years ago

Marking this as resolved:

My CubeCell board version was 1.2.0, rather than 1.3.0.

To fix, make sure to use the package json file from this github repo directly rather than external sources like Helium.