Fred Sundvik
73d890a2c9
Fix visualizer sleeping too long
...
The documentation for ugfx gEventWait wait is wrong and the
function takes the time in milliseconds, instead of system ticks.
This caused the the thread to sleep way too long. It also caused
somewhat random sleeping behaviour as the MS2ST function overflows
at around 43 seconds sleep.
The event source is also now initialized correctly, so that the
thread actually can be woken up by events.
10 years ago
Fred Sundvik
489288f674
Add a nicer sine based gradient for the LEDs
10 years ago
Fred Sundvik
0c3189055f
Make LED visualization times configurable
10 years ago
Fred Sundvik
9c955145f5
Fix emulator #ifdef check
10 years ago
Fred Sundvik
4d7e4a4780
Don't include lcd_backlight_hal for emulator
10 years ago
Fred Sundvik
94519e387a
Add callback function for emulator drawing
10 years ago
Fred Sundvik
fa8feb21a4
Add custom led and lcd display support
10 years ago
Fred Sundvik
07e412c538
Fix crash when event listener not created
10 years ago
Fred Sundvik
15300cb681
Build lcd_backlight_hal_emulator.c
...
When the emulator is set, instead of the lcd_backlight_hal.c file.
10 years ago
Fred Sundvik
4e89732617
Enable and fix compilation of more files
10 years ago
Fred Sundvik
d79e94adb1
Use ugfx API instead of chibios
10 years ago
Fred Sundvik
15bdef3ee9
Makefile changes to support emulator build
10 years ago
Fred Sundvik
350bc0d22f
Merge branch 'master' into led
10 years ago
Fred Sundvik
bde869aa7e
Merge branch 'chibios-contrib'
10 years ago
Fred Sundvik
81f89cc672
Update include dir for new serial_link include
10 years ago
Fred Sundvik
5651be7a2f
Configurable visualizer thread priority
10 years ago
Fred Sundvik
25382cb6f2
Fix compute_gradient_color
10 years ago
Fred Sundvik
f0c8e7c495
Fix a few led test animation issues
10 years ago
Fred Sundvik
6313cfd559
Fix some makefile issues, and symbol issues
10 years ago
Fred Sundvik
74baa4895c
Run mirrored keyframes for led tests as well
10 years ago
Fred Sundvik
15906b86ae
LEDS are flushed automatically
...
After running the animation, instead of having to do it manually.
This avoids duplicate flushing, and better support for cross-fades.
10 years ago
Fred Sundvik
0530ebb77d
Add led crossfading
10 years ago
Fred Sundvik
891edbd533
Add function for running the next keyframe
10 years ago
Fred Sundvik
444132edd0
Add last and first update of frame for anims
10 years ago
Fred Sundvik
0e0488623e
Add left to right gradient keyframe for leds
10 years ago
Fred Sundvik
a960a1b006
Add fade out for the led test
10 years ago
Fred Sundvik
c95b17b536
Add simple led support
...
Also the first version of a led testing animation
10 years ago
Fred Sundvik
61f7761c03
Update ugfx with ChibiOS 4 support.
...
Also change the URL to fredizzimo bitbucket
10 years ago
Fred Sundvik
f4c11740f7
Suspend power off, fix backlight animation
...
The backlight color animation was using the wrong frame number, so
it didn't work properly.
10 years ago
Fred Sundvik
b93d07198a
Suspend support for the visualizer
10 years ago
Fred Sundvik
315edb4826
Add serial link support for visualizer
10 years ago
Fred Sundvik
725929ec8b
Fix include paths for new tmk_core update
10 years ago
Fred Sundvik
c5db02925c
Clean up wrong license information
10 years ago
Fred Sundvik
8479e6aa39
Update readme and license
...
Also add integration examples
10 years ago
Fred Sundvik
8ce60649c8
Initialize backlight and LCD during visualizer_init
10 years ago
Fred Sundvik
209167d4d6
Compile the user visualizer
10 years ago
Fred Sundvik
9e58d022ba
Add visualizer
...
A generic visualizer that supports animations. There's a few
predefined keyframe types included, and more can be added by the
user.
10 years ago
Fred Sundvik
01b955aa64
Add LCD backlight support
...
Also possibility to disable the LCD support
10 years ago
Fred Sundvik
fb681b5a60
Add makefile that includes ugfx
10 years ago
Fred Sundvik
bb75446b0b
Add uGFX submodule v 2.4
10 years ago
fredizzimo
4452f4965d
Add MIT license
10 years ago
Fred Sundvik
3568065141
Add readme
10 years ago