Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Gaston said:wow i didn't realise that it was meant for commercial products. with so much support i thought it was aimed at hobbyist
Sceadwian said:I'm surprise they use something as 'sophisticated' as a PIC for a paintball gun, the number of fireing modes and rate could easily be set using a few simple gates.
ikalogic said:actually i would have expected that those oems would use dedicated ICs for the task they need, like in the computer mouse, which contain a single chip that does all the work (sensor signal amplification, counting, UART....)
Sceadwian said:Most people tend to put the main loop first an subroutines afterwards, but that's just convention as when they load their source code they want to be able to see the main code loop first.
bobledoux said:Don't forget the smaller PIC's use paging and limit location of tables to the top of the page. So tables may have to be placed before main programs and subroutines.
Kitt354 said:1) Where’s the best place for subroutines? Is it before main program or after main program?
Nigel Goodwin said:You need to give more details - like for a start, what type of PIC are you using, how much program memory are you using, and are you using any tables?.
But is it crossing a 256byte page boundry in program memory?You may think W > Table rows and it making errors. No it doesn’t.
kchriste said:But is it crossing a 256byte page boundry in program memory?
It's not about setting page bits, it's more like the year 2000 IT scare...I have to learn about setting page bits.
eblc1388 said:Wouldn't this boundary condition also affecting and shows up in the Simulator?
OP have said the code works fine on the simulator.