My largest PBP program runs at about 4,500 lines and works flawlessly. However, I can't say the same for 18F series PICs - they do have anomalies, especially the early ones. Take the 18F2420 for example... part of the 18F242/252 family... all's well until you try to use PortE.3 in a design - then Gawd help you! Hey ski - you actually want to look at somebody's 1900 line program? Run out of credit at the bar, and you're killing time waiting for payday or something?
Sure...I figure I can add some colons here and there...make it...oh I don't know, maybe 190 lines instead
Heck, my old mp3 player project ended up being 2,057 lines AFTER combining lines and my current project is already up to 2,015 (again with a load of colons) and I'm only about 1/2 done with it.
Besides, like you said, with some of the 18F series, they're a bit flakey. I haven't had a problem with them in over a couple of years, but those early ones...Look out!
Who knows...might be something that you or I would easily recognize as an obvious error, but somebody with limited PBP experience wouldn't see it...but after pointing it out, stands out like a sore thumb after the first time.
4,500 lines is absolutely huge for embedded systems software. My current project - cloning Donkey Kong for the PC, so far I've done the first level (100% playable) plus most of the raw foundation for everything is tact. I'm up to about 1,600 lines so far, the code is yet to be optimized. In the final completed version, I'm estimating 3,000 lines.
4,500 lines is absolutely huge for embedded systems software...
You should see the size of the LST file after compilation! 10.4Mb, 3385 pages, 229138 lines... geeze... try printing that one out for reference...
Thanks to all
I do not want to offend nobody of this community of PICBASIC but to kiss one does not find another exit and I love PICBASIC PRO
To change to another thing to be almost impossible
But thanks for the help I going to change the PIC18f252.
Bookmarks