dmxpainter.git
10 years agoRemove stray debug call.
Malte S. Stretz [Tue, 17 Mar 2009 11:33:39 +0000]
Remove stray debug call.

10 years agoMove code around so the interesting bits are further up.
Malte S. Stretz [Tue, 17 Mar 2009 11:32:48 +0000]
Move code around so the interesting bits are further up.

10 years agoFold start_gscycle() into tlc_update().
Malte S. Stretz [Tue, 17 Mar 2009 11:30:55 +0000]
Fold start_gscycle() into tlc_update().

10 years agoClean up some code around shifting_.
Malte S. Stretz [Tue, 17 Mar 2009 11:20:26 +0000]
Clean up some code around shifting_.

10 years agoMove TLC-config to config.h
Malte S. Stretz [Tue, 17 Mar 2009 11:05:47 +0000]
Move TLC-config to config.h

10 years agoAdded TODO.
Malte S. Stretz [Fri, 13 Mar 2009 15:03:27 +0000]
Added TODO.

10 years agoAdded getter four the timer counter.
Malte S. Stretz [Fri, 13 Mar 2009 15:02:44 +0000]
Added getter four the timer counter.

10 years agoIntroducing macro bits_value_indexed().
Malte S. Stretz [Fri, 13 Mar 2009 13:39:01 +0000]
Introducing macro bits_value_indexed().

10 years agoUpdate comments again.
Malte S. Stretz [Fri, 13 Mar 2009 13:30:17 +0000]
Update comments again.

10 years agoUpdate comments.
Malte S. Stretz [Fri, 13 Mar 2009 13:15:43 +0000]
Update comments.

10 years agoThis is easier to read.
Malte S. Stretz [Fri, 13 Mar 2009 12:27:30 +0000]
This is easier to read.

10 years agoCompleted PWM comments.
Malte S. Stretz [Fri, 13 Mar 2009 12:26:39 +0000]
Completed PWM comments.

10 years agoEnable refresh timeout a lot earlier (and add comments why). This doesn't really...
Malte S. Stretz [Thu, 12 Mar 2009 17:27:22 +0000]
Enable refresh timeout a lot earlier (and add comments why).  This doesn't really fix our problem but at least we've got real 100 Hz now.

10 years agoRemoved GSCLK-Hack.
Malte S. Stretz [Thu, 12 Mar 2009 16:50:37 +0000]
Removed GSCLK-Hack.

10 years agoIntroducing TLC_DC_ONCE.
Malte S. Stretz [Thu, 12 Mar 2009 16:32:40 +0000]
Introducing TLC_DC_ONCE.

10 years agoIntroducing an error flag for DMX.
Malte S. Stretz [Thu, 12 Mar 2009 16:05:35 +0000]
Introducing an error flag for DMX.

10 years agoSome commenting and cleanup happened in the state machine.
Malte S. Stretz [Thu, 12 Mar 2009 15:58:47 +0000]
Some commenting and cleanup happened in the state machine.

10 years agoLED_ON works now.
Malte S. Stretz [Thu, 12 Mar 2009 15:58:27 +0000]
LED_ON works now.

10 years agoSet N_PAINTER to 8.
Malte S. Stretz [Thu, 12 Mar 2009 15:57:53 +0000]
Set N_PAINTER to 8.

10 years agomcu_debug* can now use the EEARH register to store its flag.
Malte S. Stretz [Wed, 11 Mar 2009 13:48:28 +0000]
mcu_debug* can now use the EEARH register to store its flag.

10 years agoAdded note about moving buf_dc__ to tlc.c one day.
Malte S. Stretz [Wed, 11 Mar 2009 13:18:21 +0000]
Added note about moving buf_dc__ to tlc.c one day.

10 years agoUse new global suffix__ instead of gg_prefix.
Malte S. Stretz [Wed, 11 Mar 2009 13:16:28 +0000]
Use new global suffix__ instead of gg_prefix.

10 years agoRenamed badly named routine tlc_wait_for_data() to tlc_send_data()
Malte S. Stretz [Wed, 11 Mar 2009 13:11:44 +0000]
Renamed badly named routine tlc_wait_for_data() to tlc_send_data()

10 years agoRemove well-intended but broken and unused code.
Malte S. Stretz [Wed, 11 Mar 2009 13:10:19 +0000]
Remove well-intended but broken and unused code.

10 years agoConstants got their own section.
Malte S. Stretz [Tue, 10 Mar 2009 16:37:22 +0000]
Constants got their own section.

10 years agoMake clearer that we trigger the INT0 on the edge.
Malte S. Stretz [Tue, 10 Mar 2009 16:24:43 +0000]
Make clearer that we trigger the INT0 on the edge.

10 years agoMove down (and rename) TIMER0_OVF interrupt so the INT0 (containing the state machine...
Malte S. Stretz [Tue, 10 Mar 2009 16:22:59 +0000]
Move down (and rename) TIMER0_OVF interrupt so the INT0 (containing the state machine's reset) is on top.

10 years agoIntroducing DMX further error checking (malformed start byte and timeout).
Malte S. Stretz [Tue, 10 Mar 2009 15:08:44 +0000]
Introducing DMX further error checking (malformed start byte and timeout).

10 years agoDeclare helper routines as static inline.
Malte S. Stretz [Mon, 9 Mar 2009 19:16:08 +0000]
Declare helper routines as static inline.

10 years agoExplain what the global variables do.
Malte S. Stretz [Mon, 9 Mar 2009 14:54:24 +0000]
Explain what the global variables do.

10 years agoMoved a lot of code around to arrange all the public/private stuff more clearly.
Malte S. Stretz [Mon, 9 Mar 2009 14:40:23 +0000]
Moved a lot of code around to arrange all the public/private stuff more clearly.

10 years agoMark local functions as static.
Malte S. Stretz [Mon, 9 Mar 2009 14:08:57 +0000]
Mark local functions as static.

10 years agoChanged separator lines.
Malte S. Stretz [Mon, 9 Mar 2009 13:25:54 +0000]
Changed separator lines.

10 years agoAdded TODOs about buf size not based on N_PAINTER.
Malte S. Stretz [Sat, 7 Mar 2009 15:32:02 +0000]
Added TODOs about buf size not based on N_PAINTER.

10 years agoClean up declaration and usage of global variables, mark with a suffix instead of...
Malte S. Stretz [Sat, 7 Mar 2009 15:30:38 +0000]
Clean up declaration and usage of global variables, mark with a suffix instead of a prefix.

10 years agoRemoved obsolete code.
Malte S. Stretz [Sat, 7 Mar 2009 14:10:55 +0000]
Removed obsolete code.

10 years agoRename buffer* to buf*.
Malte S. Stretz [Sat, 7 Mar 2009 14:09:23 +0000]
Rename buffer* to buf*.

10 years agoIntroducing the TLC_SRTN pin. Might be useful at some point.
Malte S. Stretz [Tue, 3 Mar 2009 16:48:41 +0000]
Introducing the TLC_SRTN pin.  Might be useful at some point.

10 years agoClearify what mcu_register_isr() does, declaration of the implementation is now implicit.
Malte S. Stretz [Tue, 3 Mar 2009 13:17:46 +0000]
Clearify what mcu_register_isr() does, declaration of the implementation is now implicit.

10 years agoExplicitly disable the edge trigger on startup, weird stuff is happening.
Malte S. Stretz [Fri, 27 Feb 2009 15:14:53 +0000]
Explicitly disable the edge trigger on startup, weird stuff is happening.

10 years agoRename foo_start to foo_exec, introduce one for DMX.
Malte S. Stretz [Fri, 27 Feb 2009 14:54:17 +0000]
Rename foo_start to foo_exec, introduce one for DMX.

10 years agoMore comments.
Malte S. Stretz [Fri, 27 Feb 2009 14:40:14 +0000]
More comments.

10 years agoConditionally disable mcu_debug_* stuff if PIN_DEBUG is undefined.
Malte S. Stretz [Fri, 27 Feb 2009 11:05:37 +0000]
Conditionally disable mcu_debug_* stuff if PIN_DEBUG is undefined.

10 years agoCleaned up debug macros.
Malte S. Stretz [Fri, 27 Feb 2009 10:53:44 +0000]
Cleaned up debug macros.

10 years agoAdded MCU macro.
Malte S. Stretz [Fri, 27 Feb 2009 10:46:53 +0000]
Added MCU macro.

10 years agoRemove SD stuff for now.
Malte S. Stretz [Fri, 27 Feb 2009 10:41:28 +0000]
Remove SD stuff for now.

10 years agoMove utility headers out of the root.
Malte S. Stretz [Fri, 27 Feb 2009 10:40:00 +0000]
Move utility headers out of the root.

10 years agoMoved mcu-stuff out of the root.
Malte S. Stretz [Fri, 27 Feb 2009 10:36:25 +0000]
Moved mcu-stuff out of the root.

10 years agoAdded main system LED.
Malte S. Stretz [Fri, 20 Feb 2009 15:27:20 +0000]
Added main system LED.

10 years agoRemove scheduler code.
Malte S. Stretz [Fri, 20 Feb 2009 15:21:16 +0000]
Remove scheduler code.

10 years agoTuned Dot Correction (100%, 30%, 30%)
Malte S. Stretz [Fri, 20 Feb 2009 15:19:37 +0000]
Tuned Dot Correction (100%, 30%, 30%)

10 years agoAnd finally... a working state machine!
Malte S. Stretz [Wed, 11 Feb 2009 15:48:10 +0000]
And finally... a working state machine!

10 years agoDot correction... broken?
Malte S. Stretz [Wed, 11 Feb 2009 15:47:04 +0000]
Dot correction... broken?

10 years agoRemove broken macro.
Malte S. Stretz [Wed, 11 Feb 2009 15:46:11 +0000]
Remove broken macro.

10 years agoA better state machine.
Malte S. Stretz [Tue, 10 Feb 2009 16:29:02 +0000]
A better state machine.

10 years agoAdded -funroll-loops.
Malte S. Stretz [Mon, 9 Feb 2009 21:03:11 +0000]
Added -funroll-loops.

10 years agoThis might work...
Malte S. Stretz [Mon, 9 Feb 2009 15:34:23 +0000]
This might work...

10 years agoA (probably buggy) DMX implementation.
Malte S. Stretz [Mon, 9 Feb 2009 14:49:41 +0000]
A (probably buggy) DMX implementation.

10 years agoRemoved stale commented-out code.
Malte S. Stretz [Mon, 9 Feb 2009 13:54:05 +0000]
Removed stale commented-out code.

10 years agoA simple INT0 test.
Malte S. Stretz [Mon, 9 Feb 2009 13:52:02 +0000]
A simple INT0 test.

10 years agoRemove stale line.
Malte S. Stretz [Mon, 9 Feb 2009 13:51:49 +0000]
Remove stale line.

10 years agoRemove debugging.
Malte S. Stretz [Mon, 9 Feb 2009 13:11:55 +0000]
Remove debugging.

10 years agoMake red blink on INT0.
Malte S. Stretz [Mon, 9 Feb 2009 12:46:56 +0000]
Make red blink on INT0.

10 years agoUse native eol, fix messed up files.
Malte S. Stretz [Mon, 9 Feb 2009 11:47:58 +0000]
Use native eol, fix messed up files.

10 years agoUse native eol.
Malte S. Stretz [Mon, 9 Feb 2009 10:57:28 +0000]
Use native eol.

10 years agoIt workx!
Malte S. Stretz [Tue, 13 Jan 2009 16:51:51 +0000]
It workx!

10 years agoDisable/ignore scheduler for now.
Malte S. Stretz [Tue, 13 Jan 2009 13:45:40 +0000]
Disable/ignore scheduler for now.

10 years agoInclude mcu.h.
Malte S. Stretz [Tue, 13 Jan 2009 13:36:10 +0000]
Include mcu.h.

10 years agoInclude mcu.h.
Malte S. Stretz [Tue, 13 Jan 2009 13:35:45 +0000]
Include mcu.h.

10 years agoEnable ext. INT0.
Malte S. Stretz [Tue, 13 Jan 2009 13:35:19 +0000]
Enable ext. INT0.

10 years agoMove trigger of next (static) data packet.
Malte S. Stretz [Tue, 13 Jan 2009 13:34:35 +0000]
Move trigger of next (static) data packet.

10 years agoMore debugging stuff.
Malte S. Stretz [Tue, 13 Jan 2009 13:33:02 +0000]
More debugging stuff.

10 years agoSome debugging routines.
Malte S. Stretz [Tue, 13 Jan 2009 13:14:56 +0000]
Some debugging routines.

10 years agoKeep first func, don't sleep for now, we don't wake up.
Malte S. Stretz [Tue, 13 Jan 2009 12:54:47 +0000]
Keep first func, don't sleep for now, we don't wake up.

10 years agoUse memset to zero out gs-buffer if applicable, fix bounds for loop.
Malte S. Stretz [Tue, 13 Jan 2009 12:35:25 +0000]
Use memset to zero out gs-buffer if applicable, fix bounds for loop.

10 years agoMake buffer scheduler handler private.
Malte S. Stretz [Tue, 13 Jan 2009 12:21:57 +0000]
Make buffer scheduler handler private.

10 years agoWe want an SD card at some point.
Malte S. Stretz [Tue, 13 Jan 2009 12:14:24 +0000]
We want an SD card at some point.

10 years agoUse buffer handling code.
Malte S. Stretz [Tue, 13 Jan 2009 12:10:42 +0000]
Use buffer handling code.

10 years agoBuffer initialization.
Malte S. Stretz [Tue, 13 Jan 2009 12:09:49 +0000]
Buffer initialization.

10 years agoIt works... almost.
Malte S. Stretz [Mon, 12 Jan 2009 17:16:57 +0000]
It works... almost.

10 years agoThis send_dc code should actually work...
Malte S. Stretz [Sun, 11 Jan 2009 17:05:58 +0000]
This send_dc code should actually work...

10 years agoMove tlc_send_dc down a bit.
Malte S. Stretz [Sun, 11 Jan 2009 15:57:11 +0000]
Move tlc_send_dc down a bit.

10 years agoRemoved some trailing spaces.
Malte S. Stretz [Sun, 11 Jan 2009 15:32:14 +0000]
Removed some trailing spaces.

10 years agoThis should shift the GS-data properly.
Malte S. Stretz [Sun, 11 Jan 2009 15:25:05 +0000]
This should shift the GS-data properly.

10 years agoRename and globalize TLC_N_* macros.
Malte S. Stretz [Sun, 11 Jan 2009 14:53:14 +0000]
Rename and globalize TLC_N_* macros.

10 years agoRemove those buffer-access macros again.
Malte S. Stretz [Sun, 11 Jan 2009 14:39:14 +0000]
Remove those buffer-access macros again.

10 years agoClean up the global namespace (buffer-stuff) and add some comments.
Malte S. Stretz [Sun, 11 Jan 2009 14:32:38 +0000]
Clean up the global namespace (buffer-stuff) and add some comments.

10 years agoAbstraction of ISRs.
Malte S. Stretz [Sun, 11 Jan 2009 14:30:13 +0000]
Abstraction of ISRs.

10 years agoSome optimizations.
Malte S. Stretz [Sun, 11 Jan 2009 00:25:23 +0000]
Some optimizations.

10 years agoUse the sclk-function we have.
Malte S. Stretz [Sat, 10 Jan 2009 22:57:00 +0000]
Use the sclk-function we have.

10 years agoBetter names for bits.h-stuff.
Malte S. Stretz [Sat, 10 Jan 2009 22:41:40 +0000]
Better names for bits.h-stuff.

10 years agoMove general AVR includes to mcu.h, we need them all the time.
Malte S. Stretz [Sat, 10 Jan 2009 21:52:59 +0000]
Move general AVR includes to mcu.h, we need them all the time.

10 years agoRemove stale atmoic-include.
Malte S. Stretz [Sat, 10 Jan 2009 21:51:49 +0000]
Remove stale atmoic-include.

10 years agoAbstraction of ISR-stuff.
Malte S. Stretz [Sat, 10 Jan 2009 21:50:09 +0000]
Abstraction of ISR-stuff.

10 years agoRemove obsolete global var.
Malte S. Stretz [Sat, 10 Jan 2009 21:21:12 +0000]
Remove obsolete global var.

10 years agoAdd clean-svn target.
Malte S. Stretz [Sat, 10 Jan 2009 21:20:44 +0000]
Add clean-svn target.

10 years agoCleanup tlc_* namespace.
Malte S. Stretz [Sat, 10 Jan 2009 21:18:55 +0000]
Cleanup tlc_* namespace.

10 years agoBLNK outputs as early as possible.
Malte S. Stretz [Sat, 10 Jan 2009 21:03:12 +0000]
BLNK outputs as early as possible.

10 years agoRemove disabling of the Watchdog, not needed.
Malte S. Stretz [Sat, 10 Jan 2009 20:55:56 +0000]
Remove disabling of the Watchdog, not needed.

10 years agoMake debug stuff more portable.
Malte S. Stretz [Sat, 10 Jan 2009 20:43:07 +0000]
Make debug stuff more portable.