Jump to content

GCoda

Members
  • Posts

    9
  • Joined

  • Last visited

    Never

About GCoda

  • Birthday 01/01/1

Profile Information

  • Gender
    Not Telling

GCoda's Achievements

MIDIbox Newbie

MIDIbox Newbie (1/4)

0

Reputation

  1. russian, but thanks, i now understand process and this time i do everything right i hope, only waiting for "midi to usb" for mios studio, i am using midi output from midi keyboard, and its not useful for mios studio i think...
  2. for sure... i need upload just mios than in mios studio do other things bootloader don't needed ?? or i need upload bootloader and than in studio upload mios and than in studio upload app or is doesn't matter,as i read in "MIOS Bootstrap Loader for Newbies" thanks for answering my stupid question... ...its all too difficult for me, i am badly understand English and electronic stuff...
  3. .... o_O i downloaded mios_base_v1_0b goto apps\templates modify one and compile... that is no mios inside 6kb hex file ? i should upload compiled mios_v1_9f_src (mios_p18f452.hex) or somesing like that? and after it upload that i compiled from mios_base_v1_0b? can i do this with icprog without mios studio? edit: i need to upload mios_p18f452.hex than i need to use mios studio and try to upload my app...this is best and right way...? i have no pc with midiIO at home... i ll buy one... and before this i ll try whit icprog
  4. compiled, and uploaded with icprog tryed int i,j; for(i=127, j=0 ; i!=j ; i--, j++) { MIOS_DOUT_PinSet(i, 1); //may be this not working MIOS_DOUT_PinSet1(j); //or this not working } and this not working too... think thap i wrong in hardware... iam not very pro in this stuff.... biut buy a ready pcb in my coutry is a problem.... checking and checking hardware....
  5. midi input center pin maybe need to be ground ? i am using only to of 5... thatmay bee problem ?
  6. what will that app do ? dout will reacts incommming midi events?
  7. hi, i don`t know ASM so i decided use C i get mios_base_v1_0b, get some exemples and compile this: main.c PIC18f452-i/p i am using inly core and dout, nothing else, maybe LCD neededor somthing else ? #include <cmios.h> #include <pic18fregs.h> #include <cmios.h> #include <pic18fregs.h> #include "main.h" app_flags_t app_flags; unsigned char last_ain_pin; unsigned char last_din_pin; unsigned char last_dout_pin; void Init(void) __wparam { // set shift register update frequency MIOS_SRIO_UpdateFrqSet(1); // ms // Up to 4 DOUTX4 modules (=16 shift registers = 128 digital outputs) can be connected // set the maximum number here - it doesn't really hurt! MIOS_SRIO_NumberSet(4); } void Tick(void) __wparam { } void Timer(void) __wparam { } void DISPLAY_Init(void) __wparam { } void DISPLAY_Tick(void) __wparam { } void MPROC_NotifyReceivedEvnt(unsigned char evnt0, unsigned char evnt1, unsigned char evnt2) __wparam { if( evnt0 == 0x80 || evnt0 == 0x90 ) { if( evnt0 == 0x80 || evnt2 == 0x00 ) { // Note Off MIOS_DOUT_PinSet(evnt1, 0); } else { // Note On MIOS_DOUT_PinSet(evnt1, 1); } } } void MPROC_NotifyFoundEvent(unsigned entry, unsigned char evnt0, unsigned char evnt1, unsigned char evnt2) __wparam { } void MPROC_NotifyTimeout(void) __wparam { } void MPROC_NotifyReceivedByte(unsigned char byte) __wparam { } void SR_Service_Prepare(void) __wparam { } void SR_Service_Finish(void) __wparam { } void DIN_NotifyToggle(unsigned char pin, unsigned char pin_value) __wparam { } void ENC_NotifyChange(unsigned char encoder, char incrementer) __wparam { } void AIN_NotifyChange(unsigned char pin, unsigned int pin_value) __wparam { } and nothing working, only one led are lights 7th (doutx4) where im wrong? help please, sorry for bad english
  8. i was blind, now i can see ... a lot of C thanks, i`ll try
  9. i am very stupid, i think... i have ready pic based core and dout module, but i have no idea how to compile .hex file i downloaded stuff in http://www.midibox.org/dokuwiki/windows_toolchain_quickstart and i found C example http://www.ucapps.de/mios_c_set_dout.html and mios source mios_v1_9f_src.zip but in mios source no C files! help please, sorry for my bad english
×
×
  • Create New...