0 200 Build: Configuring Your Keyer
Kevin edytuje tę stronę 2017-12-24 00:05:52 -05:00
This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Configuring the Keyer Code

The configuration options and various other settings are broken out into separate files. You will mostly be working with key_feature_and_options.h until you start deciding to use different pins than the schematics plan for or modify the way the keyer works.

keyer_features_and_options.h: configure the features you want here. A list of features, options and their descriptions can be found in the Features and Options page.

keyer_pin_settings.h: map the pins youre using with your hardware

keyer_settings.h: various settings for features; you probably wont need to touch this unless youre a power user or want to tweak stuff

keyer_debug.h: turns on debugging code; you probably wont ever have to touch this unless youre deep in the code or someone on the Radio Artisan group asks you to enable debugging and post the debug logs for troubleshooting purposes

keyer.h: this is for some IDEs like Sublime/Stino that require function prototypes in order to compile (or dont fully auto-generate function prototypes at compile time); leave the include in the main .ino file commented out unless you need this (if you dont know if you need this, you dont need it) UPDATE: Stino versions after October 2014 no longer require this file. Yeahhhh!

k3ng_keyer.ino: this is the main code; object declarations for some hardware devices are included in this file

keyer_hardware.h: This is for defining custom or preset configurations. More detail elsewhere in this wiki.

keyer_dependencies.h: Dont touch this file. Youll shoot your eye out.

This may look complicated and daunting at first, however the instructions in this wiki go into detail on what to configure at compile time in order to get the features you want, so dont fear. It is recommended to start with a minimal software and hardware feature set, then add additional features as needed or if you just want to play around. Be patient and youll be rewarded with a darn fun and useful keyer.