how would you write a pic program in picc18 compiler for a pic18f4431 in mplab to send the letters ‘G’ and 'A' to matlab at 9600 bps serially? All I can send with the code below is the letter 'K' a million times to matlab...
Yeah it helped me ultimately to write data from matlab to the pic, however, i cant seem to write from the pic to matlab... If you know of how to correct my code, please let me know...
actually there are many! i think only the 'Matlab' word turn them off.Start a new post and be a bit more general like 'How do i control the computer with the PIC,that would not give you any specifics on matlab but at least you will know how data is sent to a specific software such as take LAbview i bet many have worked with it. A liitle work and you will be able to convert it for matlab!
PS:If any body else is reading this post then cna i ask whether Quantiphi(a blockset of simulink 3rd party) offers a trial version cause i have made a temp controller in statelfow which according to the Quantiphi people can convert it on to PIC18 code but i dont have access to it even in college much less at home!It costs 2grand and i dont have that kind of money(atleast for a Blockset)