Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlySky iBus Decoder Library

This library decoding transmitted data from FlySky i6 (not tested) or FlySky i6x (tested). The used reciever when testing library is FlySky FS-A8S.

Default library supported 10 channels.

Usage

git clone https://github.com/utkudarilmaz/FlySkyiBus
mv FlySkyiBus <arduino-ide>/libraries/

Then import the library to source code.

#include "FlySkyiBus.h"

FlySkyiBus iBus(2,2); //rx and tx pins

void setup() {
	Serial.begin(115200);
	iBus.begin(115200);
}

void loop() {
	iBus.read_serial();
	Serial.println(iBus::get_channel(2)); // Channel number [0-9]
}

Hacking Library

Normally iBus supported 14 channels communication.

If you need more channels, edit the CHANNEL_SIZE macro on the FlySkyiBus.h header file.

About

FlySky iBus protocol decoder library for Arduino.

Topics

Resources

Stars

23 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages