Hi
I have a trouble with the serial example.
It shows an error, no matching function for call to ‘ofSerial::readByter(int)’
I’m working on 0.05 on xcode…
any thoughts?
thanks!!
maria
Hi
I have a trouble with the serial example.
It shows an error, no matching function for call to ‘ofSerial::readByter(int)’
I’m working on 0.05 on xcode…
any thoughts?
thanks!!
maria
Hi Maria
I think it should be readByte - not readByter
But could you post the part of the code where the error is occurring.
I don’t have that in the current serialExample - which 005 did you grab?
Cheers,
Theo
Hi Theo
sorry “Byter” was a typo…
I haven’t changed anything in the example, I got the version 005 that was distributed at the knitting circle at eyebeam in February.
This is the line:
while((bytesReturned = serial.readBytes(3)).length() > 0){
Thanks!!
Hey Maria!
Looks like you didn’t get the right example app - don’t know how that happened.
This is what it should have looked like:
http://www.openframeworks.cc/files/005–…-estApp.cpp
This is the version I put up for the workshop:
http://www.openframeworks.cc/files/005–…-r-zach.zip
Hope that helps!
Theo
You were right, i didn’t get the right version, now it’s working
thanks!!
Maria