Complete newbie to MIOS programming

Hi,

i got now all my PCBs working and tested under MB64, so now I wanna try to create my own customised app. If somebody can explain, how to start with this:

12 pots, about 40 buttons, 4 encoders, 12 LEDs. I want to use them alltogether (got DINs, AINs, and DOUTs for them). Need some customised messages depending od incoming data, some LEDs shining where I want… So I need an app which will “drive” them, yes? Where to start?

Is there and “standard” procedure to build the apps for MIOS? Like: select number of pots, buttons, set them to send values, set the LCD for messages etc.? And if I understand, that the final step is to compile te app and send via MIDI.

Somebody?

check out one of the other apps - maybe start with the MB64, have a look at the C code, edit it, compile it and upload it and see what happens

OK, but there’s about 70 files in “midibox64_v2_4.zip” file. Which one of them is main app? What are these other files? And what should I search for in them?

hi poldie_pl,

you should read the c-function list at the C-Page on ucapps.de

http://www.ucapps.de/cmios_fun.html

Then we have a quite good growing infobase at the wiki (section application development) with good tutorials on how to set up IDE’s, though you’re fine too if you like to use a simple texteditor.

http://www.midibox.org/dokuwiki/doku.php?id=application_development

Then you should grab the SDCC-Skeleton as basis.

David is right to point you to the examples, though the MB64 is coded in ASM, so it’s not suited to learn C. The download section at ucapps.de lists all available C-Projects ordered by programming language (see bottom of dl-page)

http://www.ucapps.de/mios_download.html

There are a bunch of additional examples spread here in the forum and on the User-Wiki Pages.

Best regards,

Michael

ooops my bad, it would help if I pointed to a C app!

check out: ain64_din128_dout128_v2_0 app, it’s probably a good place to start. http://www.ucapps.de/mios/ain64_din128_dout128_v2_0.zip