geekhack Marketplace > techkeys.us
6KB EasyAVR Support / Comments
Finkey:
Thanks for the reply. i decided to give it a shot and modified the threekeyboard file and got the all the keys to work.
Here is the modified file. http://pastebin.com/dLGmJ5b1 the led on the back is not configured corretly.
suicidal_orange:
I made a config for this in the EasyAVR thread but no-one confirmed it worked (or not) and I don't have a board to test.
I had the LEDs as all being on separate pins - does this work?
--- Code: ---led_definition = [
('1', 'Unassigned'),
('2', 'Unassigned'),
('3', 'Unassigned'),
('4', 'Unassigned'),
('5', 'Unassigned'),
('6', 'Unassigned'),
('Underglow?', 'Unassigned')
]
led_hardware = [
# Port Pin Direction
( REF_PORTC, 6, LED_DRIVER_PULLDOWN ),
( REF_PORTB, 6, LED_DRIVER_PULLDOWN ),
( REF_PORTB, 4, LED_DRIVER_PULLDOWN ),
( REF_PORTD, 5, LED_DRIVER_PULLDOWN ),
( REF_PORTD, 2, LED_DRIVER_PULLDOWN ),
( REF_PORTD, 3, LED_DRIVER_PULLDOWN ),
( REF_PORTC, 4, LED_DRIVER_PULLDOWN )
]
backlighting = True
bl_modes = [
( 0, 0, 0, 0, 0, 0 ),
( 1, 1, 1, 1, 1, 1 ),
( 0, 1, 0, 1, 1, 1 )
]
--- End code ---
Finkey:
wow, i wish i used the seach function more before i started measuring and screwing arrownd.
My board dosen't have the LEDs yet, i will solder some and test it during the weekend.
Finkey:
i just soldered some leds to my board and was unable to make them work. i did some measuring and all the leds have a common anode that is connected to the power line and each anode is connected to its own pin on the microcontroller with a 470ohm resistor. the assigned pins on the config file seems to be correct.
suicidal_orange:
Well they default to off so you might want to change the top line to 1,1,1 etc, unless you assigned a key to switch them on?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version