Git Product home page Git Product logo

hackaday-belgrade-badge-mplabx's Introduction

This is a C framework built in MPLABX for the Hackaday | Belgrade conference badge

Current State

Tested, fully working.

Users can easily manipulate the display and the user inputs using the bh-badge-animate.c and bh-badge-animate.h files. No other files need to be edited for basic badge manipulation. This is designed to be compatible with a software emulation version of the badge.

For those who will be at the conference and working with the actual hardware, you can go much deeper. Memory has been mapped to give you access to the read and write buffers for the IR communications hardware, a random number source, and more.

Install the IDE, Compiler and Flasher

This repository is an MPLABX project. To compile a HEX file and to flash it to the badge you need to install the following:

Of course, don't forget to clone this repostiory:

git clone https://github.com/Hack-a-Day/hackaday-belgrade-badge-MPLABX.git

Bootloader/Kernel

There are different hardware revisions of the Hackaday | Belgrade conference badge. For this, and ease of hacking, the badge is running a hybrid bootloader/kernel written by Voja Antonic. This C framework is carefully crafted to adhere to the bootloader/kernel specification.

Memory Map

Memory is fully mapped in the HaD_Badge.h file. This provides access to the buffer being scanned into the badge's display (Buffer[16]) and to fully debounced button scanning (KeyEdge) whose bits will be set when a press is debounced and must be unset by software.

This is mapped to use Voja Antonic's modified bootloader that handles all hardware features. C code interacts with his bootloader through absolute memory locations.

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.