povlhp / ibus2ppm Goto Github PK
View Code? Open in Web Editor NEWArduino code to read iBus over serial port, and output PPM to FlightController. Future plans include PWM out for select channels.
License: GNU General Public License v3.0
Arduino code to read iBus over serial port, and output PPM to FlightController. Future plans include PWM out for select channels.
License: GNU General Public License v3.0
In void readRx()
digitalWrite(4, LOW);
What pin 4 is for. This is mistake?
Hi.
Firstly I would like to thanks you for making your great work available to everyone.
In using this code on an Arduino Pro Micro (Leonardo) and I am not getting any response from the iBus output on the iA6B receiver to show in MissionPlanner, having checked, and double checked, and triple checked the connections.
Upon further investigation, I spotted this in the documentation for this board:
Separation of USB and serial communication.
https://www.arduino.cc/en/Guide/ArduinoLeonardoMicro#toc6
Would be correct in saying that in the sketch one should be setting up Serial1 and not Serial?
In addition to the above, the only LED that is assigned to a pin on the Leonardo is the RX LED, and it is assigned to pin 17, so in the sketch the outputs assigned to pin 13 should be assigned to pin 17?
Does this sound correct?
Many thanks
Julian
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.