Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create miniblip library #72

Open
victordiaz opened this issue Dec 3, 2015 · 1 comment
Open

create miniblip library #72

victordiaz opened this issue Dec 3, 2015 · 1 comment

Comments

@victordiaz
Copy link
Contributor

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)

@javacasm
Copy link
Contributor

javacasm commented Dec 3, 2015

There is a miniclip_lib directory, but still need a lot of work...

https://github.com/hack-miniblip/hack-miniblip.github.io/tree/master/miniblip_lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants