
- ARDUINO LEONARDO LED HOW TO
- ARDUINO LEONARDO LED UPDATE
- ARDUINO LEONARDO LED PATCH
- ARDUINO LEONARDO LED CODE
The documentation is clearer about the 10uF capacitor, included examples, and the status messages in the connector really help with debug. Thanks for your reply, and I can see your latest releases are getting stronger all the time. So all in all thanks for the feedback I’ll get right on it! As a workaround, I currently use an Arduino for inputs and an Arduino for outputs or a Teensy with 2 comm ports. In the upcoming update, I fitted an algorithm to handle jitter though. When used as an output a button command can be sent by using Serial.println(ndApMasterOn()) Which in the backend just translates to Serial.println(301) This should work combined with the throttle (unless there is an insane amount of jitter from the potentiometer on the line blocking all the communications (which in reality shouldn’t be the case)) but it won’t work in combination with the retrieving of data (that is being worked on). so currently it uses 1 comm port for either in OR output. The 10Uf capacitor will be more prominent in the docs (it will save me some support mails as well I hope).Ĭurrently, there is a bug that keeps the line hostage if you use it as an input.
ARDUINO LEONARDO LED UPDATE
I’m working on a fix but found out too late for this to be implemented in the update releasing tomorrow. The status messages are a bit off currently and seem to stick after a successful connection.
ARDUINO LEONARDO LED HOW TO
Looking at the TX led on the nano, there’s no flashing when I push buttons, and nothing in the serial monitor either.Īny pointers on how to debug further would be welcome Thanks again for sharing the connector, libraries and videos. What’s not working for me yet is sending push button input data to the simulator.

So in summary - the simple analog throttle works, the simple comms to LCD example works and I’ve modified this to show avionics data. Not sure why this was required, but without it, it seems every bit of data sent to the arduino triggers a reset? It would be good to add a note about this on the main library documentation page. DONT FORGET TO ADD A 10Uf capacitor after installing the sketch between ground and the reset pin on the board I’ve also managed to get the “lcdComUnoMega” example working. there doesn’t seem to be a test to check it’s really talking to an Arduino with the BitsAndDroidsFlightConnector library running. com1 on my PC which is empty, seems to say successful. Also even connecting to any com port, e.g. – connected to arduino to receive variablesĬurrently the ‘successfully connected to your arduino’ comes up, but it’s sticky, even when you stop the connection it’s still saying connected. – connected to arduino to send controls (with option to enable debug messages, like a serial monitor, while running) The ‘status’ message could be a little more verbose.I’m using an Arduino Nano, which is basically a smaller form factor Uno with serial port and ATMEGA328P MCU. I’m starting with the basics - a few push buttons to turn autopilot on and off but currently it’s not working and I’m struggling to debug. I’m trying a more advanced panel now (converting from a ‘Link2fs’ setup I had). I’m trying out the library and the simple throttle worked ok.
ARDUINO LEONARDO LED CODE
initialize the digital pin as an output.Hi Bits and droids / enjoyed your videos, and thanks for publishing all the code and connector. the setup routine runs once when you press reset: Pin 13 has an LED connected on most Arduino boards. This example code is in the public domain.

Turns on an LED on for one second, then off for one second, repeatedly.

I post it here below for others that may stumble onto this post.
ARDUINO LEONARDO LED PATCH
I applied the patch to the files in Arduino 1.0.1 (did not work with 1.5.2) and made this simple sketch, which outputs the keyboard led status to the serial port (and blinks to show its working). Thanks a lot for that, that is really something! I guess the notify-me settings expires after a while.
