Skip to content

micropython-rcv is a small module to get input from RC receivers in micropython

License

Notifications You must be signed in to change notification settings

turbinenreiter/micropython-rcv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

micropython-rcv

Module rcv

micropython-rcv is a micropython module to get input from RC receivers.

Wiring the receiver to the pyboard

Connect the signal pin of the channel you want to use to an input pin on the pyboard.

Quickstart

Example:

import pyb
from rcv import Receiver
pin_ch1 = pyb.Pin.board.X1
rcv = Receiver([pin_ch1])
angle = rcv.get_angle_of_ch[1]
print(angle)

Classes

Receiver
This class provides a reader to get input from RC-receivers. Pass a list of pins on which the channels are connected.
UML diagramm

Methods

get_angle_of_ch(ch)
Returns the angle the Receiver sends on ch.

Instance variables

ch_list
List of pins on which channels are connected.

About

micropython-rcv is a small module to get input from RC receivers in micropython

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages