Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Art; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread: Goodbye

    by Art
    Replies
    56
    Views
    10,626

    Re: Goodbye

    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...
  2. Replies
    4
    Views
    1,091

    Re: LCD serial terminal

    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
  3. Replies
    4
    Views
    1,091

    LCD serial terminal

    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...
  4. Replies
    17
    Views
    1,505

    Re: jumping out of a gosub reminder

    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...
  5. Thread: Goodbye

    by Art
    Replies
    56
    Views
    10,626

    Re: Goodbye

    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...
  6. Replies
    17
    Views
    2,592

    Re: Multiplexer address control..

    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.
  7. Replies
    3
    Views
    1,236

    Re: Little Rocket Man :D

    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...
  8. Replies
    3
    Views
    1,236

    Little Rocket Man :D

    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...
  9. Replies
    10
    Views
    2,907

    Re: Circumference of circle to many decimal places

    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...
  10. Replies
    10
    Views
    2,907

    Re: Circumference of circle to many decimal places

    // 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...
  11. Replies
    7
    Views
    2,311

    Re: inverting all bits in a byte

    Using comf would be about twice as fast there since you don’t have to do anything at all with the literal 0xFF.
  12. Replies
    14
    Views
    3,468

    Re: Figured Out MPLAB X

    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:...
  13. Thread: Max Array Size?

    by Art
    Replies
    14
    Views
    3,955

    Re: Max Array Size?

    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.
  14. Thread: Max Array Size?

    by Art
    Replies
    14
    Views
    3,955

    Re: Max Array Size?

    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...
  15. Thread: Max Array Size?

    by Art
    Replies
    14
    Views
    3,955

    Re: Max Array Size?

    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...
  16. Thread: Max Array Size?

    by Art
    Replies
    14
    Views
    3,955

    Re: Max Array Size?

    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...
  17. Replies
    6
    Views
    1,801

    Re: 12F683 PWM output not remembering.

    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...
  18. Thread: Max Array Size?

    by Art
    Replies
    14
    Views
    3,955

    Re: Max Array Size?

    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,...
  19. Replies
    14
    Views
    3,468

    Re: Figured Out MPLAB X

    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...
  20. Replies
    14
    Views
    3,468

    Re: Figured Out MPLAB X

    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...
  21. Replies
    14
    Views
    3,468

    Re: Figured Out MPLAB X

    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.
    ...
  22. Thread: Oled

    by Art
    Replies
    6
    Views
    2,276

    Re: Oled

    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...
  23. Thread: Max Array Size?

    by Art
    Replies
    14
    Views
    3,955

    Max Array Size?

    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...
  24. Replies
    14
    Views
    3,468

    Re: Figured Out MPLAB X

    That example was for XC16 specifically, but I can also help with XC32.
    These are both GCC (General Cross Compiler), and you already have the absolute right to use unrestricted, fully unlocked...
  25. Thread: MAX232 problems

    by Art
    Replies
    9
    Views
    5,502

    Re: MAX232 problems

    To be honest, I’ve never read such a post complaining about heat from any of them, but at the same time, am not here a whole lot these days.

    If a chip was overheating while still functioning,...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4