Yep, were it within my ability, everything I’ve ever posted here would be gone.
Not through the same negativity as when I left, although that was valid.
Now my view is simply that this forum is a...
Type: Posts; User: Art; Keyword(s):
Yep, were it within my ability, everything I’ve ever posted here would be gone.
Not through the same negativity as when I left, although that was valid.
Now my view is simply that this forum is a...
I am thanks :D
I still get people asking about stuff here through YouTube,
even though I’ve been a couple of years without activity there too.
Or someone asks about code for something on YouTube,...
I’m quite pissed. At least one mod or admin will have to know why, and the commonality of what has gone missing.
Unless you want to be stuck with decade old stuff, different ways of doing things (or...
and some code.
16F628A with MCLR disabled, 20 MHz clock, and watchdog time left on.
'
' Dumb LCD Terminal - Brek Martin 2020
'
DEFINE OSC 20 '20 MHz oscillator
Hi Guys :)
This was pretty easy to share since it’s literally the schematic out of the manual, except 20 MHz clock, and has a serial input.
I was looking for a simple serial terminal display...
You could count your gosub nesting level in another variable.
Increment for every gosub, and decrement for every return.
You don’t know about PBP's own gosubs, but they are supposed to be the...
Hmm.. how do you suppose any commercial product could have ever competed with free development environments and compilers?
From my point of view it was about time to quit developing PBP about the...
It would be quicker if you used the port bits 0-3 instead, so you could just increment the port b value.
The quickest way also depends where the enable bit is connected.
Hi There :) I won’t say your name, because I don’t know if that’s ok with you in public forum, but thanks :)
To be honest, you prompted me to Google the phrase “See you next Tuesday”. I honestly...
Hi Guys :)
I thought you might appreciate this one.
A look at the General Instruments SP0256, with pic 16F628A. The software is actually all PicBASIC.
You might even remember the project book...
But in C, since you usually have math.h with floating point, you wouldn’t actually do that.
This was part of a challenge with strict constraints.
To do it in C, it’s:
float circ;
float...
// input ASCII into input array
// check ASCII numeric range (0x30-0x39 & 0x2E) here, and subtract 0x30 for all but 0x2E
// rotate input array left until the decimal point is aligned with...
Using comf would be about twice as fast there since you don’t have to do anything at all with the literal 0xFF.
Hi :)
For help with latest versions:
github.com/cv007/XC3216
XC8 is definitely not GCC.
The Mac OS version is missing form the document on Github, and I have found it myself:
XC16 v1.34:...
It’s enough for me not to bother.
I’m studying now, and can’t do anything real committing where time spent on it could spiral out of control,
so I’ve been sniffing for a short kind of project.
This has the potential to become that forum. PBP won’t be practical forever.
I’m looking at your setpixel routine. I assume you set X & Y somewhere else, and then just call that to write to the...
Oh my. The fact that yours hasn’t gotten a single reply puts me off. It’s not like I’d benefit at all porting one to PBP.
I looked at it enough, that it looks tidy, and in the end it does look like...
My current project is for dspic33FJ128GP802, and has an 8000 byte, a 1024 byte, and 2048 byte arrays, but that’s not PBP.
(I say current, but I think it’s finished now).
I was wandereng if PBP...
Yes that code is going to kill the EEPROM location quickly.
You need to write only every “so many” loops.
You could try turning brownout detect on, to ensure you have enough current because...
Neither.
No pic I’ve used with PBP has provided a mechanism to define all available RAM in a single array, probably due to bank swapping.
I’d guess PBP wants the RAM in an array to be continuous,...
It’s not illegal to include it in your own project and sell it so long as you provide the source (which Microchip do).
That part is still moral thuggery, but technically there’s nothing wrong with...
You should have a message Richard, but the second method might also break XC8 (untested).
All integrity would be lost if that was posted in public.
If you can determine that is also GCC compiler it...
I’ll have to get that!
Meanwhile, can you back up a version from 1.32b to 1.32?
Windows:
Same file location in Windows directory structure.
Find file offset 0x1623AE, change 0x85 to 0x84.
...
Dave, was it not you that once posted, maybe a few years back, some graphics code for GLCD?
Are the interfaces any different? I think the particular LCD you used might have been KS0108, and were...
Hi :)
If your goal is to have the maximum RAM array size, what Pic, and what version Pic BAISIC would you be using, and what would that size be?
The Pic can be any Pic BASIC supported Pic, and the...