Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
spiffchorder:chord_creation [2008/01/05 23:14] – created priestdo | spiffchorder:chord_creation [2023/02/09 23:32] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
* [[#The Format of the .h file]] | * [[#The Format of the .h file]] | ||
* [[#Building the Cross Compiler]] | * [[#Building the Cross Compiler]] | ||
- | * [[# | + | * [[# |
- | * [[# | + | * [[# |
===== Layout or How Many Thumbs? | ===== Layout or How Many Thumbs? | ||
+ | |||
+ | |||
===== Code Considerations ===== | ===== Code Considerations ===== | ||
+ | |||
+ | * [[#3 modes available]] | ||
+ | * [[# | ||
+ | * [[# | ||
+ | |||
+ | ==== 3 modes available ==== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== keycodes.h ==== | ||
+ | |||
+ | The {{spiffchorder: | ||
+ | Unless you want to rewright some of the code (which you are more than welcome to do) you are restrictied to these key codes. | ||
+ | |||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | There are a few others as well but these are defined in the comments of keycode.h should you need them. | ||
+ | |||
+ | < | ||
+ | KEY_F, | ||
+ | KEY_G, | ||
+ | KEY_H, | ||
+ | KEY_I, | ||
+ | KEY_J, | ||
+ | KEY_K, | ||
+ | </ | ||
+ | |||
+ | And further down you will see lines like this: | ||
+ | |||
+ | < | ||
+ | MOD_LSHIFT, | ||
+ | MOD_LALT, | ||
+ | </ | ||
+ | |||
+ | |||
+ | < | ||
+ | SPC_dollar, | ||
+ | SPC_percent, | ||
+ | SPC_ampersand, | ||
+ | </ | ||
+ | |||
+ | ==== Planning ==== | ||
===== The Format of the .h file ===== | ===== The Format of the .h file ===== | ||
+ | An empty chord file is provided as {{spiffchorder: | ||
===== Building the Cross Compiler ===== | ===== Building the Cross Compiler ===== | ||
* [[#Windows Cross Compiler]] | * [[#Windows Cross Compiler]] | ||
* [[#Linux Cross Compiler]] | * [[#Linux Cross Compiler]] | ||
+ | |||
==== Windows Cross Compiler ==== | ==== Windows Cross Compiler ==== | ||
+ | |||
+ | For compiling the SpiffChorder firmware under Microsoft Windows, the easiest solution is to use [[http:// | ||
+ | |||
+ | The majority of the development on the SpiffChorder was done with WinAVR, and using the Programmers Notepad editor. It worked for me, so it should work for you as well (provided you have a Windows installation). | ||
==== Linux Cross Compiler ==== | ==== Linux Cross Compiler ==== | ||
+ | AVR-GCC, | ||
- | ===== Programming the pic the First Time ===== | + | Under Xubuntu 7.10 (which is what I run) I installed avr-libc, binutils-avr and gcc-avr from the ubuntu repositories using apt-get (or synaptic). |
+ | |||
+ | |||
+ | ===== Programming the AVR the First Time ===== | ||
[[http:// | [[http:// | ||
- | ===== Programming the pic over USB ===== | + | |
+ | ===== Programming the AVR over USB ===== | ||
[[http:// | [[http:// | ||