Giter Club home page Giter Club logo

pico_rc's Introduction

pico_rc - Library for Raspberry Pi Pico for working with hobby servos and RC receivers.

Created by Jan Dolinay, May 2023

Revision History

May 2023

  • Initial version

Using the library

I assume you are already familiar with programming the Pico using Pico SDK. If not, please check out the excellent documentation provided by Raspberry Pi (https://rptl.io/pico-get-started).

Download or clone the library into some folder on your computer.

In the CMakeLists.txt file for your project add path to the library: add_subdirectory("../../../pico_rc" pico_rc)

In the above example I use relative path to the pico_rc folder, which in my case is located three levels up from the project folder (from the CMakeLists.txt location). You will need to adjust this as needed.

Then add the library pico_rcto the target_link_libraries section of CMakeLists.txt as you would add any other SDK library. Here is an example:

target_link_libraries(receiver pico_stdlib
pico_rc )

Now you are ready to use the library in your code. Just include rc.h in your source:

#include "pico/rc.h"

See the examples folder for example programs.

License

This is free software; you can redistribute it and/or modify it under the terms of the MIT License.

pico_rc's People

Contributors

jdolinay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.