Jump to content

LiFo

Members
  • Posts

    18
  • Joined

  • Last visited

    Never

Everything posted by LiFo

  1. dont take this the wrong way i am happy with all the help i have got an can get i am lazy and have always been and this is a project i am doing for a frend so i am not so entusiastic and driven as many of you therfor am i seeking the shortcuts mobius to your question yes it would be sufficient to inform me that i have to do it my self and that i could turn off the text with 0x08 and turn it on with 0x0c stryd_one yes the timer is set for 50 ms but if you look at the ToggleBlink function you vil see that here is a counter so the real blink frequancy is ½ sec. sorry for my wage misleding question about the tempo you gave a long detailed explanation about something else than the thing i wanted (i think ? or i hope so else it sounds way to complicated) i don't even know my self what i want i am making a floorboard for my friend and i only implement what he tells me and the hole proccess is extremly ad hoc and among other things he wants a tap/tempo or something button on it to transmit some cc ommand (i think, have not researched) and if it is only a command to send out then the idea was to track internaly the tempo he is tapping the pedal and show the tempo on a diode but hey not problen i have figured the timer out so there is no problem there ps. Spelling errors don't exist in my univers only coding errors
  2. Mobius thanks for the verry positiv informativ anwser i was more looking for an anwser in the line of this >is there any command you can sent to the display to get it to blink >or is it only the cursur that is blinkin no there is no command to get the display to blink only the cursor >or have i to programm it my self to blink ? yes you have to but there is a command you can send to the display to hide (turn off) the text and another to show(turn on) the text again look at example furder down >if i have to make it blink my selv >i was thinking about using a timer somhow sounds like a good idea >i have only looked breafly at the function page and as i understand there are only 1 timer i can use >was also thinking to use another timer to make one dout blink a diode indicating the tempo >to get me started, some c examples using a timer would be realy great make 2 variables char blink; char blinkNr; in init methode void Init(void) __wparam { blinkNr = 0; blink = 0; //initialize timer to fire each 50 ms MIOS_TIMER_Init(0x03,62500); } in the Timer function make this void Timer(void) __wparam { if(blinkNr == 10) { blinkNr = 0; TogleBlink(); }else { blinkNr++; } } void TogleBlink() { if(blink == 0) { // sends a display on command MIOS_LCD_Cmd(8+4); blink =1; }else { // sends a display off command MIOS_LCD_Cmd(8); blink = 0; } } this maby a stupid way of doing it but i dont know any better and nowbody seams to be villing to help a newbie so this is how i am going to do it and if another newbie like me wants to do the same think here is a simple solution
  3. i ment the characters not the back light
  4. is there any command you can sent to the display to get it to blink or is it only the cursur that is blinkin or have i to programm it my self to blink ? if i have to make it blink my selv i was thinking about using a timer somhow i have only looked breafly at the function page and as i understand there are only 1 timer i can use was also thinking to use another timer to make one dout blink a diode indicating the tempo to get me started, some c examples using a timer would be realy great
  5. Thorsten thanks for pointing me in the right direction i have just started to play with MIOS and had not seen the documentation under the MIOS_LCD_YAddressSet section just the under the MIOS_LCD_CursorSet MIOS_LCD_YAddressSet(0x00, 0x40, 0x10, 0x50); solved my problem as i have a 4x16 LCD regarding wiring i made the same wiring as on http://www.midibox.org/users/jim_henry/building_a_midibox_lcd_cable.pdf again Thanks
  6. have tryed many times an have not found any the only thing i have about it is on the pcb MDL-16465 and SN102 94VO or 94V0 on one of the chips there is a sticke MDLS1646S-01 MDLS1645S-LV- it is a 4x16 there is 4 chips on it 3 x HD44100FS 1 x HD44780A00
  7. from the doc's on the lcd function page i thought the lcd line arrangement was like this //sets the text cursor on LCD screen // 0x00-0x3f: first line /// 0x40-0x7f: second line // 0x80-0xbf: third line // 0xc0-0xff: fourth line after experimenting a little i have no clue what is going on here made a littel simple program to test where the display was displaying the test program void DIN_NotifyToggle(unsigned char pin, unsigned char pin_value) __wparam { if(pin_value == 1) { switch(pin) { case 0 : val++; displayTest(val); break; } } return; } void displayTest(unsigned int val) { MIOS_LCD_Clear(); MIOS_LCD_CursorSet(0x00); MIOS_LCD_PrintCString("verdi"); MIOS_LCD_PrintBCD3(val); MIOS_LCD_CursorSet(val); MIOS_LCD_PrintCString("test string to g"); return ; } the result from the test 16 dec line 3 40 dec line 2 46 dec line 2 80 dec line 4 104 - 111 dec line 1 120 - 128 dec line 1 148 - 155 dec line 2 164 - 172 dec line 2 188 dec line 4 212 - 219 dec line 1 104 - 111 menas that "the test string to g" starts at column 1 on line x dont know if my display is a little strange or what but i think i can remember when i bought the display about 8 years ago there was somthing about that something had to be fliped, switched, reversed or negated to get it to work as an standard HD44780 or it was just me that was drunk ? am using MIOS 1,8 and sdcc_skeleton_v1_0d and programming in C hope sombody has some idea what is going on here
  8. i have just begun to paly with MIDIBOX and have a small problem i have a 4x20 LCD it works almost perfect but row 3 and 6 start printing on column 5 so i was wondering if it could be that i maby have switch 2 wires or is it just my display that is strange ?
  9. hi just wantet to inform you i have made a Pic burner (MBHP_BURNER_V1) on a breadbord it is working fine (have just used it about 20 times to programm the same Pic18F452) BUT (there is always a but ) when i first connect the burner to the pc and start the programming software the Vpp light gos on after about 5 sec. if i the go under options / hardware and push the Vpp off the vpp light goes off but comes on again after about 5 sec. i can keep doing this for ever but if i push the Vpp on and then the Vpp off then it stays off and if i close the software and start it again later it works witout the vpp going on every 5 sec. this is probably a software error but i just wantet to inform you
  10. hi have just build my first midibox and MBHP_BURNER_V1 have trouble to use midi-ox but have managed to use mios studio upload version 1.7 of mios but i want to program in c and i can only finde a syx file of mios v 1,8 rc1 can you post or send me an hex file of mios 1.8 so i can program in c and another question is it okey to use sdcc version 2.5.0 Thanks Martin
  11. LiFo

    Server Move II

    just notised an broken link on this page http://www.ucapps.de/mios_v1_7_hardware_mods.html there is an broken link to a forum aricle http://69.56.171.55/~midibox/cgi-bin/yabb/YaBB.cgi?board=concepts;action=display;num=1083103370
  12. what about clicks from the relays have you thought about that i am about to do a somwhat similar design and was looking for another solution than relay's and have found an “Clickless†Bilateral Audio Switching SSM2402 but it is realy expensive
  13. midi has 16 different channels so with that dip switch i gues you choos which one you send or listen on O/P is just an output what you connect to it is up to you it could be just an LED or an driver and an relay
  14. was just wondering what freqence the clock is on the bankstik (24lc256) and why the pull up resistor is 1 k the datasheet says
  15. the final output in the scope dos't it showe 12 v insted of 5 v ?
  16. from what i can see from http://www.microchip.com/ParamChartSearch/chart.aspx?branchID=1002&mid=10&lang=en&pageId=74 the difference is that 16F874A has 2 Comparators and 16F874 has 0 Comparators and some difference in awailible packages
  17. Hi Raphael Great to hear i am not a musician my self Just a friend of one :-) And i know a little electronics and programming so he asked me I will just make it work the way my friend asks me to do it But maybe i can convince him to make it another way if you have an good idea for a really god product i have been looking at your site and it would be nice to get some idea of What you want your floor board to do Specs buttons displays functions gear?? Are you also planning to make a loop box or just a floor board? I have been searching the net to find out what to use to switch between the pedals in the loop box My friend is concerned about the sound quality And is afraid that if I use relays it will come clicks/pops I have found a Analog switch from analog devices (ssn2402) that looks to bee perfect but it is really really expensive So I was wondering if there was somebody that has some info on another way to do it
  18. hey i am going to make a floor bord and an loop box for a friend going to use 1 CORE + ½ DIN + ½ DOUT and an display he wants it to work in a simarly way as skrydstrups sc-1 and mr8 (see http://www.skrydstrup.dk/home.htm 2 buttons ( song up down) 5 buttons ( preset 1- 5 ) 8 buttons ( for loops ) 1 button for programming mode the loop buttons are only going to be used when he want to enable/disable an loop that is not in a preset and when the programming button is pressed to program song titles and preesets for that song the loop box i haven't thought so much about i have just ordered the parts but i am going soon home for x-mas hollyday so i wil not start to put it together until next year am planning to program i C as my asm is minimal
×
×
  • Create New...