|
Author |
Topic: serialWrite() on powerbook? (Read 576 times) |
|
bjoern_kah
|
serialWrite() on powerbook?
« on: Dec 18th, 2003, 1:02am » |
|
hi did anyone did a successful serialWrite() on os x 10.3? the serial input works great. but the external device does not get any signals from proce55ing. i am trying to send init signals to a leica dmc-sx 3d-compass. it worked with director and serialXtra. the os x console put that error message when i use startSerial(): malloc[758]: Deallocation of a pointer not malloced: 0xe1d8f14; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug regards bjoern
|
« Last Edit: Dec 18th, 2003, 11:24am by bjoern_kah » |
|
|
|
|
mKoser
|
Re: serialWrite() on powerbook?
« Reply #1 on: Jan 19th, 2004, 9:23pm » |
|
uhh... sounds a bit odd! anyway, just to make sure, you write above that you use startSerial() ... maybe that's the error, you should use beginSerial: http://www.proce55ing.net/reference/serial/beginSerial_.html (or maybe it was just a typo!) - anyway, please post a stripped down version of the code that causes the problem and I'll give it a go on my Mac. ...but to answer your question, yes, I have had plenty of success with using serialWrite(). * mikkel
|
« Last Edit: Jan 19th, 2004, 9:23pm by mKoser » |
|
mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
|
|
|
|