Commit Graph

22 Commits

Author SHA1 Message Date
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 a6342d4968 Cosmetic fixes. 2010-03-06 15:22:09 +01:00
Uwe Hermann d8eb8ce746 Consistently use the hex file for flashing. 2010-03-05 23:30:26 +01:00
Uwe Hermann 8faf33275a Makefile output cosmetic improvements. 2010-03-05 23:24:09 +01:00
Uwe Hermann 20ff2d9a7b Drop unused comments. 2010-03-05 23:16:56 +01:00
Uwe Hermann 87df73edf2 Print "Entering directory" only upon "make V=1". 2010-03-05 23:13:47 +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 9928fb0820 Add missing Makefile snippets for pwmleds. 2010-02-24 00:37:10 +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
Uwe Hermann 94ccc164db Use --no-print-directory option of 'make'. 2010-01-26 03:12:23 +01:00
Uwe Hermann da8d9de6b0 Rename example directory names to all-lowercase. 2010-01-26 03:01:25 +01:00