-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bitlash without serial port #35
Comments
Puzzling that it wouldn’t work without the computer attached to USB. There is no code in initBitlash that can fail. I believe if the USB isn’t connected the output is simply dropped. If you have TX/RX lights on your setup you might be able to see the burst of characters transmitted when Bitlash sends the startup banner, to confirm that’s happening. It’s a little tricky to debug in these headless situations. Perhaps if you have a free LED you could turn it on at various points in the code to isolate where it’s breaking. Can you confirm, for example, that characters are being sent to Bitlash from the radio in the disconnected configuration... -br On Mar 27, 2014, at 2:23 PM, toctep9 notifications@github.com wrote:
|
I agree with billroy - AFAIK there is nothing in the code that could even detect whether the USB serial port is attached, let alone be influenced by it. I wonder if there is some other problem - perhaps your wall adapter doesn't provide a stable voltage? Are you powering the 5V pin directly, or using a 7V+ voltage on the vin pin? You say that "setOutputHandler and doCharacter does nothing". How did you determine this? Are you sure that the problem is with these functions, and not that for example the As bill says, using leds for debugging can help in this case... |
It seems that Bitlash can not work without real serial port connected. I've made setup where bitlash'ed nano connected with 'console' throught RF24 radio using setOutputHandler and doCharacter. It works fine when nano connected to computer and serial port can be initialized. When it powered from wall adapter, both of setOutputHandler and doCharacter does nothing. http://forum.arduino.cc/index.php?topic=199311.0
The text was updated successfully, but these errors were encountered: