-
Notifications
You must be signed in to change notification settings - Fork 0
lithium/avr-hkt6a-ui
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Overview ==== Attiny84 flash: 8k eeprom: 512b ram: 512b io: 12 pins Required I/O pins (13): digital --- 7- LCD 1- button 2- rx/tx analog --- 1- THR 1- AIL 1- batt voltage 16x2 character lcd ProfileCache - 84bytes - 14*6 name - 12 bytes reversed - 1 byte flags - 1 byte 6 profiles: 56 bytes +24 80bytes name: 12 byte tx_mode: 1byte stick_modes: 1 byte reverse: 1 byte dualrate: 6 bytes (2bytes * 3) endpoints: 12 bytes (2bytes * 6) subtrim: 6 bytes (1byte * 6) switch: 2 bytes mixer: 15 bytes (5bytes * 3) swash: 3 bytes thr curve: 10bytes pitch curve: 10ytes //helicopter stuff: 23- 161bits = 23 * 7(twos complement values) Memory === boot sequence --- - grab app settings from storage - load current/default profile from storage into Programmer - fetch current config from device - compare the two, if they differ, show flag on Main screen. UI Concepts ==== "throttle up/down" scrolls the list. "click" moves cursor to next value. "right-stick left/right" adjust value under cursor. "long press" navigates to next screen. "double click" returns to main screen. Workflows ==== Main screen 0123456789012345 +----------------+ | high v11.9| |-thr- low !batt!| |#2: plus copter | +----------------+ dbl click: ->"Channels" long press [with throttle cut]: ->"Profiles" Channels +----------------+ |[ | | ]| |[ | | ]| +----------------+ 0123456789012345 +----------------+ |###### CALIBRATE| |###### | +----------------+ |!!Calibrating!! | |move stix fully | +----------------+ dbl click: ->"Communication" long press: calibrate start/stop Profiles 0123456789012345 +----------------+ |#1: model a | |nnRnnR ACRO 123| +----------------+ throttle: profile select button: select current model ->"Main Menu" long press: ->"Edit Model" under cursor Edit Model 0123456789012345 +----------------+ |#1: model name | |MODE: mode2 LOAD| +----------------+ throttle: cursor left/right click: next value r-stick left/right: next/prev char long press: ->"Model EPA" dbl click: ->"Main Menu" Model EPA +----------------+ |CH1 R DR:xxx/xxx| |EP:xxx/xxx +xxx| +----------------+ throttle: channel select click: next value r-stick left/right: adjust value long press: ->"Switches" dbl click: ->"Main Menu" Switches +----------------+ |SW.A:dualrate | |SW.B:throttlecut|t +----------------+ click: next value r-stick left/right: adjust value long press: -> "Mixes" dbl click: ->"Main Menu" Mixes +----------------+ |MIX1 VRB>CH3 SWA| |UP:+XXX DN:+XXX| +----------------+ throttle: scroll mix up/down click: next value r-stick left/right: adjust value long press: -> "Type" Type 0123456789012345 +----------------+ |TYPE: Heli-120 | | +xxx/+xxx/+xxx | +----------------+ click: next value (Swash afr) r-stick left/right: adjust value long press: -> "Throttle Curve" Throttle Curve 0123456789012345 +----------------+ |THR ##### #####| |norm1##### #####| +----------------+ throttle: switch between THR and PTCH button: next value rstick: adjust vertical slider (0..100) long press: -> "Edit Model" Save 0123456789012345 +----------------+ |Save? Yes | |#1: xxxxxxxxxxx | +----------------+ rstick: adjust value double click: abort ->"Main Menu" long press: save if yes->"Main Menu" click: save if yes ->"Main Menu"
About
a lcd ui for the hobbyking-t6a-v2 rc transmitter
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published