PDA

View Full Version : multisim PIC programming



dorkusmalorkus
- 30th January 2007, 13:58
hello, my question is when i am writing code on multisim, for example, im using the following syntax;

X VAR BYTE
Y VAR BYTE
BitCount VAR BYTE
ByteIn VAR BYTE
ByteOut VAR BYTE etc.

but it doesnt seem to like this very much. do i need to use another way?
im just starting out on the 'wonderful' world of PIC programming.

mister_e
- 30th January 2007, 15:44
i can't help, i don't use any sim software.

Can you elaborate a little bit your problem?

dorkusmalorkus
- 1st February 2007, 13:14
i am wondering if mbasic is a completely different syntax to picbasic? for example, in declaring variables i have seen programs with an 'equ x' command and then 'x var byte' etc.
there is plenty of info on writing with picbasic but i cant find help with mbasic.

im doing a project doing pic to pic communication (telemetry systems) and i want to implement manchester encoding, which i have already researched and fully understand, but its just writing it thats the problem coz im so new to the language.