gigmick Posted May 24, 2006 Report Posted May 24, 2006 Hello,as you can see, I'm a newbie.I'm building a midibox to control Native Instruments B4.I'd like to use two pots as selector one for the tonewheel, the other for the cabinet.I'd like to display differents labels instead of a value when I turn one of those pots .For instance, display "B4 pure" instead of value 1, "B4 clean" instead of value 2, etc.Changing the name of the pot is easy, but I didn't find anything about affecting a label to each pot value.Any idea ? Quote
audiocommander Posted May 24, 2006 Report Posted May 24, 2006 Hi gigmick,welcome aboard :)What application do you use? (e.g. your custom app in C or a ready programmed project like mb64, mb128io, ....)?There are different approaches for C and ASM. Take a look at the function reference @ uCApps; there is one for C and one for ASM!See MIOS_LCD_Print...() and DISPLAY_Tick() if your app is written in C!Regards,Michael Quote
gigmick Posted May 24, 2006 Author Report Posted May 24, 2006 Thanks for your answer,I use the ready programmed midibox 64 project. If I correctly understand your answer, the only way to solve my problem is to cope with the MIOS code. If I have to, I'd prefer C. If you have any additionnal clue, I'd be thankfull.Thanks againMickaël PS : pure curiosity, where are you from ? Quote
audiocommander Posted May 24, 2006 Report Posted May 24, 2006 If you just want to hack the mb64 project, it can't be that hard, but it's in ASM, and I'm obviously too lazy to learn that, so I can't help you 'bout that ;DBut Thorsten has made it very (very) easy to code in C. You might want to take a look in the AppDev Section of the Wiki: http://www.midibox.org/dokuwiki/doku.php?id=application_development and the C-Function List @ ucApps.If you're on Windoze, stryd_one has just finished an excellent tutorial with an openSource IDE called code::blocks. I did the same for Xcode on the Mac.So installing the tools and setting up your environment will be very easy ;)If you know C you should have your application ready in a few days; if you start from scratch, it may take some weeks, but I'm sure it's easy for everyone. TK added plenty of examples and the list of converted C-applications grows from day to day (maybe just pattern storages and complex DOUT examples are a bit rare at the moment).It's a lot fun to code one's own applications :)Cheers, Michaelps: I'm from germany. And you, Mickaël? :) Quote
gigmick Posted May 25, 2006 Author Report Posted May 25, 2006 Ich komme aus Frankreich. ;)DankeMickaël Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.