Giter VIP home page Giter VIP logo

ledlibrary's Introduction

LED Library

A simple LED driver to abstract the base code of LEDs in WPIlib. It uses a subsystem that you can extend called LED to set the colors. To manage moveing patterns and dynamic elements, extend the Animation class to create a file that generates the hash map to control the LEDs or use a pre-defined Automation. Documentaion will be added later.

Building

  1. Clone Repository
  2. Run ./gradlew build in a terminal
  3. JAR should be placed into the build folder

Adding to Build System

Credit for this system of adding libraries without using WPIlib jsons goes to Dannie on team 4272, Maverick Boiler Robotics. Their code is great! You can find it here: https://github.com/maverick-boiler-robotics-team-4272

  1. Create a folder called libs in the root directory of the project
  2. Add built library to the libs folder
  3. Go into build.gradle and add
repositories {
  flatDir {
    dirs "./libs" 
  }
}
  1. Find dependencies block and add implementation name:'[insert name of JAR here, omit the .jar]' after the implementation wpi.java.vendor.java() line

  2. Add !libs/*.jar to your .gitignore to allow the file to be added to your repo. (or analagous action for other version tracking software)

ledlibrary's People

Contributors

celestialwren avatar fodfodfod avatar

Stargazers

 avatar

Watchers

 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.