Anyone used the SerialCommand Library

photon
Tags: #<Tag:0x00007fe21ecf3b88>

#1

I’ve just imported the SerialCommand library but the usage example calls .begin and .process functions.
They don’t exist in the library … what am I missing?
Thanks


#2

You are not missing anything - the library isn’t aligned with the usage.ino sketch! This is why using the community libraries isn’t guaranteed to work!

I would be tempted to copy and have a go at modifying the code to ensure it works. You can strip out a lot of the Arduino reference stuff and remove using string object.


#3

Right … Thanks.
I’m sure the novices could be saved an awful lot of time if erroneous libraries were removed or flagged as incomplete somehow.


#4

That’s an ongoing, and never-ending effort. There’s only so much you can test automatically after which you’ll have to go into functional (manual) testing. It’s being worked on, but there are a lot of libraries to cover.