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
    53
    Views
    4,709

    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...
  2. Replies
    17
    Views
    1,275

    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.
  3. Replies
    3
    Views
    706

    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...
  4. Replies
    3
    Views
    706

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

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

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

    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.
  8. Replies
    14
    Views
    2,226

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

    by Art
    Replies
    14
    Views
    1,834

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

    by Art
    Replies
    14
    Views
    1,834

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

    by Art
    Replies
    14
    Views
    1,834

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

    by Art
    Replies
    14
    Views
    1,834

    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...
  13. Replies
    6
    Views
    1,063

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

    by Art
    Replies
    14
    Views
    1,834

    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,...
  15. Replies
    14
    Views
    2,226

    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...
  16. Replies
    14
    Views
    2,226

    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...
  17. Replies
    14
    Views
    2,226

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

    by Art
    Replies
    6
    Views
    1,418

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

    by Art
    Replies
    14
    Views
    1,834

    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...
  20. Replies
    14
    Views
    2,226

    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...
  21. Thread: MAX232 problems

    by Art
    Replies
    9
    Views
    4,028

    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,...
  22. Thread: MAX232 problems

    by Art
    Replies
    9
    Views
    4,028

    Re: MAX232 problems

    Old thread I know, but some of the posts mentioned are probably going to be mine,
    but when I say MAX232, I actually mean Maxim/Dallas MAX232, which for hobbyists,
    are, or at least were, the same...
  23. Replies
    14
    Views
    2,226

    Re: Figured Out MPLAB X

    Step 1)
    Familiarise yourself with the concept and lisencing for GNU software:
    https://en.wikipedia.org/wiki/GNU_General_Public_License

    Step 2)
    Become rightfully pissed off with Microchip for...
  24. Replies
    14
    Views
    2,226

    Re: Figured Out MPLAB X

    If you don’t want to pay $1000 for XC8, then just take XC16 or XC32.
    They are both GCC. GCC is open source, and it isn’t possible to steal open source software.
  25. Thread: ASCii To HEX?

    by Art
    Replies
    5
    Views
    1,190

    Re: ASCii To HEX?

    Generally, it’s very beneficial for interrupts to be as short as possible.
    I’m not sure how BASIC interrupts work.
    Working is the main thing :D
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4