guys...what compiler do you use for this code posted above by mackrackit?
guys...what compiler do you use for this code posted above by mackrackit?
I use Pic Basic Pro for the compiler and MPASM for the assembler.
Dave
Always wear safety glasses while programming.
thanks for the quick reply...
are these compilers and assemblers downloadable for free? i can only find a demo version and it is just capable of compiling 30 lines.
could you please give me the procedure on how to program the vinculum(vdip2) using pic microcontroller? i'm kind of confused. will the command set of the vinculum be included in the program that will be burned to the pic just like in the code above? i'm new at this so please help me...thank you very much.
Everything is free except PicBasicPro.
This sounds like a first project for you. Start with someting like blinking a LED at the push of a switch... Then come back to this, but up in post #4 there is a link showing how to write to the module.
Dave
Always wear safety glasses while programming.
you are right, this is the first project for me, so i'm really starting from scratch. ive seen post #4 but i have one question, what will i do with that code after compiling it, whats next? will i burn it to the pic? i really need your answer on this to start. thank you.
Most that use Pic Basic are probably writing the code using Micro Code Studio, you can use any text editor though MCS is pretty good.
When the code is written and the compile button is clicked MCS starts PBP which is a comand line program. PBP will turn the BASIC code into Assembly code. Then either PM or MPASM starts, this is selectable. PM or MPASM will turn the Assembly file into a HEX file.
The HEX file is what gets written to the PIC.
To get the HEX into the PIC a piece of hardware called a programmer is used. There are many to pick from. The programmer will have software to control the flow of data into the PIC and read back what was written to verify the code on the PIC.
Now the PIC is ready to power up and run.
What all do you have so we can help you get started with some learning code?
Dave
Always wear safety glasses while programming.
i have downloaded the pbp compiler but its just in a demo, it can only compile 30 lines. do you know any alternative compiler?
as for the materials that i have, i have here a pic16f877a and a programmer module for that pic. the vdip2 that i have ordered will be arriving soon.
Bookmarks