Ian Walters
New Member
Hi
I'm very much a novice with microchips / programming and my sole interest is using them for simple robotice animation of models.
I've been using an evaluation copy of Proton IDE so far but now want to write a program longer than this will allow so I bought a copy of PIC16 from Oshon. The models are actuated by a push switch so in Proton I've been using the IF / THEN command string.
The problem I've got is that in Proton I use the command "nop" (no operation) to instruct the chip to do nothing if the switch is low before returning to the Main command, however in PIC16 this "nop" is not recognised and I can't find an alternative syntax to use!
An help or suggestions would be very welcome!
Best regards
I'm very much a novice with microchips / programming and my sole interest is using them for simple robotice animation of models.
I've been using an evaluation copy of Proton IDE so far but now want to write a program longer than this will allow so I bought a copy of PIC16 from Oshon. The models are actuated by a push switch so in Proton I've been using the IF / THEN command string.
The problem I've got is that in Proton I use the command "nop" (no operation) to instruct the chip to do nothing if the switch is low before returning to the Main command, however in PIC16 this "nop" is not recognised and I can't find an alternative syntax to use!
An help or suggestions would be very welcome!
Best regards