Need a C example for using J5 as digital output

Hello all,

is there an example written in C, where i can control LEDs with J5 like the example in http://www.ucapps.de/mios/j5_dout_v1e.zip ?

Thank you very much.

Greets,

rio

http://discourse.midibox.org/t/topic/15380

PS: oh wrong topic…that should be in “Mios Programming ( C )”

To that topic (because i want use C64keyboard and LED outs at one core): is it possible to use also a DOUTX4 in combination of C64Keyboard matrix, so that the first 74HC595 of DOUTX4 will be used of Scan Matrix Driver and all the other digital output shift registers can used for LED outputs?

Should be ok, or?

greets,rio

EDIT: Yes it works, i have not tried that before.