![]() I have code that is trying to establish communication through win32 perl. What's up with my PuTTY?įrom there, things just get worse. The "TX" blinks, but "RX" and the pin 13 LED do nothing, so this would seem to imply that my commands are getting transmitted (TX), but not handled (pin13) or echoed (RX). This is what prompted me to add the LED blinking as debug assistance, and I do not even see the LED blink. I do get the "ready" prompt sent to the terminal, but the commands I try to send don't do anything, and nothing is echoed back to PuTTY. ![]() Everything is echoed back to me as expected: Arduino readyīut then I tried using PuTTY to connect to the board. Every command I send causes the "TX" and "RX" LEDs to blink, and the LED attached to pin 13 also blinks as per the code. When I connect to the board using the built-in Serial Monitor that comes with the Arduino software, everything is great. so the main loop can do something about it: if the incoming character is a newline, set a flag blink the LED as a sign that we got the command start serial communication send a "ready" message ![]() turn off the LED, we will use it for debug I have been going crazy just trying to get Perl's Win32::SerialPort working with very trivial things, but I'll get to that in more detail in a moment.įirst, the Arduino code: static int LED = 13 ![]() I've got a lot of elecrtonics and programming background, but I'm just getting started with Arduino tinkering. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |