Ps2avr c code help

User avatar
skrsh3r

16 Dec 2013, 09:42

Hi everyone i need some help with modifying hex file to go with my matrix, basically i'm done with my matrix,plate and case now i only need to change hex file of inorates pa2avr to work with my keyboard.I'm a total nub when it comes to programming and writing c codes so i need all the help i can get here, i was checking keymap and other files that come and i dont know what to change or remove since i don't want any leds and those fancy thingies i just want things to be as simple as possible eg nkro and thats it, any help would be appreciated ill send spread sheet of my matrix if anyone wants to help me here and ps2avr files.

Findecanor

16 Dec 2013, 10:13

You can often see posts like yours "I'm a total noob, does anyone want to help me?" go unanswered. Nobody wants to do the job for you .. and especially not if don't present the problem enough. When you write a post for help, it is best to ask specific questions that you want answered. Start at the beginning: What do you have, and what is the problem. Are you building a new keyboard? Are you modifying an existing keyboard to use ps2avr?
You obviously have a lot to learn about keyboards and C programming - but nobody else can learn for you. The best way to learn is to read existing code to find out how it works.

User avatar
skrsh3r

16 Dec 2013, 10:36

Basically i finished making my pcb i have 6x17 matrix with controler on pcb it uses atmega16 and i downloaded ps2avr files from github, when i extract it i get folder containing keymain.hex file,avrlib folder,circuit pdf for controller and source folder with files needed to make hex file.I just want to know do i need to change anything else then keymap header file thats in source folder.

User avatar
hasu

16 Dec 2013, 17:56

> I just want to know do i need to change anything else then keymap header file thats in source folder.
It seems that you need to edit keymap.c instead of header and keymatrix.c in firmware/ps2avrU/, though not 100% sure. C programming is another fun part after soldering and asembling keyboard. Don't give this pleasure other! Good luck.

BTW,
Good to know inornate has repository in github now and fiddling with his code recently. Seeing as ps2avr at soruceforge.net almost has been abandoned I thought he wasn't involved the project anymore.
https://github.com/showjean/ps2avrU

User avatar
skrsh3r

16 Dec 2013, 19:18

Thanks hasu that's what i wanted to know ill try fiddling with it.

Post Reply

Return to “Workshop”