Re: PicBasicPro+DT Interrupts vs mikroC PRO for PIC
Hi ya netstranger.nz,
I am just learning C++ right now, and not mikroe C, BUT as luck would have it I Do have an opinion ( who would have thought ) PBP interrupts " ON Interrupt " do leave a bit to be desired, and DT-INTS rock, but what IS DT_INTS anyway ? Here comes the opinion part, As I See It, DT_INTS is a function, much the same as the "C" functions which handle interrupts. Basic and C compilers essentially just turn human mnemonics into assembly code (which DT-INTS are) and the assembler MPASM turns it into the machine code (HEX) the pic requires. As I see it, the real advantage to C over Basic is this, All variables in basic are global and C can have temporary non global vars, and as such uses a bit less memory. Your program only has to work, every time. Both compilers will do that.
All that said, I vote use both! The upside to C is code portability from PICs to ATMEL to ? ? ? as there are flavors of C for almost every MCU on the market.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
There simply is no "Happy Spam" If you do it you will disappear from this forum.