Giter Site home page Giter Site logo

glynhudson / lightwaverf-pi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lawrie/lightwaverf-pi

0.0 3.0 0.0 29 KB

a port of the arduino lightwaverf library to the raspberry pi

License: BSD 3-Clause "New" or "Revised" License

Makefile 5.94% C 77.23% Shell 16.83%

lightwaverf-pi's Introduction

lightwaverf-pi

This code is a port of the excellent lightwaverf arduino library written by Lawrie Griffiths to the Raspberry Pi. It utilises the WiringPi library to do most of the GPIO work.

To use this library you will need a 433 Mhz transmitter and/or receiver attached to your Pi. The default is to pin 1 and 0 respectivly (wiring pi pin numbers not the actual processor numbers, see [http://wiringpi.com/pins/]). If you want to use different pin numbers these can be set in teh call to lw_setup().

To compile the code you will need wiring pi installed. Instructions can be found here. When this innstalled run make followed by sudo make install this will build the library and two example programs: send and receive. send <0,1> will send either a off or on signal the the code specified on the send.cpp file. receive will print out all of the code it receives. These command will also make the library available for other programs to use with the .so files in /usr/local/lib and the lightwaverf.h file into /usr/local/include

lightwaverf-pi's People

Contributors

lawrie avatar leachj avatar ribbons avatar

Watchers

Glyn Hudson  avatar James Cloos avatar  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.