Skip to content

create miniblip library #72

@victordiaz

Description

@victordiaz

We did a really awesome progress during the hackathon.
It would be cool if we can merge some of the code we did into a reusable library to simplify some little things.

@javacasm Started to create one here https://github.com/hack-miniblip/hack-miniblip.github.io/tree/master/miniblip_lib

I propose methods as follow (What I'm writing here is pretty Java like. I'm not superinto C sintax so any proposal is more than welcome :)

miniblip.beep(note,  duration)
miniblip.matrix(i, j, r, g, b);
miniblip.matrixBrightness([0 ... 100);
miniblip.readButton();
miniblip.readPot();
miniblip.save(position, value); //Use the internal limited eeprom
miniblip.load(position, value); //load the stored value 

 //this is for the "circles". 
//Since the capacitance changes depending on the environment or things connected we need a way to calibrate them on the fly. 
miniblip.setCapacitivePin([ pin number], );
miniblip.capacitivePinThreeshold(value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions