Deimos wrote:
meaningful giberish
Would also be cool if you post your code
You are awesome, thank you so much
Here's babby's first tutorial edit
#include <TrinketKeyboard.h>
#define PIN_BUTTON_0 0
#define PIN_BUTTON_2 2
void setup()
{
pinMode(PIN_BUTTON_0, INPUT);
pinMode(PIN_BUTTON_2, INPUT);
digitalWrite(PIN_BUTTON_0, HIGH);
digitalWrite(PIN_BUTTON_2, HIGH);
TrinketKeyboard.begin();
}
void loop()
{
TrinketKeyboard.poll();
delay(3);
if (digitalRead(PIN_BUTTON_0) == LOW)
{
TrinketKeyboard.print("z");
TrinketKeyboard.pressKey(0, 0);
}
if (digitalRead(PIN_BUTTON_2) == LOW)
{
TrinketKeyboard.print("x");
TrinketKeyboard.pressKey(0, 0);
}
}
I can see what I did wrong now... kinda. Here's my actual keypad
I did a really bad job when cutting the top of the box for the keyswitches, so they're not 100% straight and one of them pops out. I'm also an idiot and forgot to solder in my resistor to my LED when I was first testing everything and I only had 2 on me, so now I have to wait for more to come in. I'm definitely going to redo it sometime over the next week and try to make the keyswitches more recessed so it feels less awkward to use and get some of these awesome keycaps in pink and purple:
http://www.keypop.net/product/transluce ... pop-keycapedit: sometime over the next week=immediately after posting
Recut the body and I'm using my old filco keycaps upside-down for the angle
Put some rubber feet on the bottom that actually work pretty well despite the weight
Hotglued the trinket to the side of the housing and cut a hole for the mini usb port. If the hotglue doesn't hold, it's easy enough to reapply and it should keep me from being able to put too much stress on the usb port.