Piotr Esden-Tempski
45e57fa51e
Corrected pwmleds to use the right GPIO defines.
2010-12-21 20:14:54 +01:00
Piotr Esden-Tempski
c031b6691e
Moved common example make code to a central file. Added more gitignores.
2010-12-17 21:45:38 +01:00
Uwe Hermann
6ba179b361
Various cosmetic and coding style fixes.
2010-06-29 23:01:44 +02:00
Thomas Otto
d08ee7e333
Changed examples to new rcc definitions.
2010-05-11 14:50:55 +02:00
Uwe Hermann
d8eb8ce746
Consistently use the hex file for flashing.
2010-03-05 23:30:26 +01:00
Piotr Esden-Tempski
d7489ebfbd
Added standard clock setup routines.
...
Thanks to Thomas Otto for pointing out problems with the clock code in
examples and his clock routine implementations. Based on that the most
common clock combination routines were added to the library and all
routines in examples setting up the clock replaced with calls to that
functions.
2010-03-04 20:37:04 +01:00
Piotr Esden-Tempski
d84c4030b2
Cleaned up header inclusion.
...
Now all examples are including only the modules they really need. Also
each header file of the library is including only the necessary headers
making it possible to use these modules in parallel with other
implementations that may collide with the definitions in other modules.
2010-03-04 19:16:24 +01:00
Piotr Esden-Tempski
cdc1846f5b
Added gamma 2.2 and set as default gamma for fade mode.
2010-02-27 20:58:31 +01:00
Uwe Hermann
75e66f26d7
Revert unintended change.
2010-02-23 23:39:09 +01:00
Uwe Hermann
0a0be96d12
Cosmetics, whitespace, coding style.
2010-02-23 23:38:05 +01:00
Piotr Esden-Tempski
2c404f962a
Added KITT mode.
2010-02-22 15:56:49 +01:00
Piotr Esden-Tempski
da2b9d94fb
Added gamma 2.5 corrected 3.0 table added fade mode.
...
The fade mode is using one gamma correction table and fades with a time
offset to create a nice moving fade.
2010-02-22 15:06:28 +01:00
Piotr Esden-Tempski
c713c02e9d
Scaled gamma 1.3 table to cover whole power range.
...
Now the example shows the difference between different gamma approaches.
2010-02-22 13:59:51 +01:00
Piotr Esden-Tempski
002ec200ad
Added proper gamma correction tables.
2010-02-22 12:59:15 +01:00
Piotr Esden-Tempski
18097d9ed0
Added pwmleds example for mb252 board.
...
It creates a fading pattern on the 4 leds on the eval board, using TIM3
PWM output, and a gamma correction lookup table.
2010-02-22 10:03:56 +01:00