Coder Social home page Coder Social logo

2percentmilk_catchphrases's Introduction

This is an Arduino sketch file, meant to be built and loaded from the Arduino IDE.

As of writing, the 2percentmilk board uses a 5V 16MHz pro micro clone with a bootloader preinstalled.

To get the Arduino IDE set up to load this sketch to the pro micro:

  • go to Tools > Manage Libraries... and make sure the Adafruit_Neopixel and Keyboard libraries are installed.
  • go to Tools > Board and select Arudino Leonardo (this board has the same bootloader and microcontroller)
  • go to Tools > Port and make sure the port is correctly set (should say the board name)
  • open the sketch from the repository and build and load the sketch

Notes / shortcomings:

  • This was a quick build, so there are things that are likely not done the best way.
  • One of those things is that I used delay() when I should have used a debounce library like FTDebouncer
  • I could have also precompiled and uploaded a test .hex file, so that the only install dependency would be avrdude instead of the Arduino IDE, but the Arduino IDE would still be required to change the included phrases.
  • Because RAM is so limited on these chips, the phrases are stored in the program memory as an array of const char arrays
  • This could probably also be done in QMK, but I wasn't sure how much room I would have to add the phrases to program memory with the QMK libraries, so I didn't try
  • If anyone wants to contribute, please do!

2percentmilk_catchphrases's People

Contributors

thejevans avatar

Stargazers

 avatar Gideon Rank avatar

Watchers

 avatar James Cloos avatar Gideon Rank 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.