Search Results - MEL PICBASIC Forum

Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.14 seconds.

  1. Replies
    2
    Views
    87

    Re: 18F4680 Internal Oscillator

    This may or may not get you where you want to be, but if you go to C:\\Programs(x86)\PBP3_1\DEVICE_REFERENCE you will have a list of every PIC processor PBP can program. Click on your 18F4680. What...
  2. Replies
    9
    Views
    152

    Re: Nextion Touchscreen LCD User Interface

    I actually wrote an article for Nuts and Volts on using the Nextion with the PIC using PBP.

    Another thought, when you look at the User's Guide in the section that covers error codes (near the end...
  3. Replies
    9
    Views
    152

    Re: Nextion Touchscreen LCD User Interface

    Furthermore, numeric values must be transmitted in ASCii as well:


    "n2.val=", $22, "123", $22, $FF, $FF, $FF

    where you're not transmitting a single byte value of 123, you're sending $31, $32,...
  4. Replies
    9
    Views
    152

    Re: Nextion Touchscreen LCD User Interface

    The manual lists all of the serial commands & error codes. It specifies when to use spaces. If not mentioned, use no space.


    t1.txt="Hello World"

    When you want to send that through UART, it...
  5. Replies
    5
    Views
    279

    Re: Au-full quiet out here lately...

    Personally, I fell in love with the new PIC16F18426 and ME Labs hadn't gotten around to including it in the latest PBP update. I felt obliged to learn how to program in "C" and use MPLABX just so I...
  6. Replies
    7
    Views
    283

    Re: SSD1315 oled display

    Have you dissected the Audrino Include code? If you post it as .txt we could look at it with you.
  7. Re: AD8302 Phase and magnitude to complex impedance

    What ideas do you have so far? There are some of us that have no experience with what you are using, but may contribute snippets of wisdom if we have a good starting point. What PIC processor did...
  8. Re: Getting data from user, how to store it properly? (kinda dialog interface)

    My son is building a video game (just the screen software, no hardware). What you are discussing is sounding familiar.

    Not sure what you're building (3-D printer?) but I just saw this on the...
  9. Re: DC Motor constant speed controller, is Picbasic fast enough?

    The HPWM command occasionally has glitches where it hangs high or low. PBP is certainly fast enough to handle your request, but you can actually work the SFRs manually within the PBP environment. ...
  10. Replies
    17
    Views
    824

    Re: Programmer help

    https://www.microchip.com/mplab/mplab-x-ide
  11. Replies
    17
    Views
    824

    Re: Programmer help

    When Microchip introduced the new MPLABX IDE, the also introduced the MPLABX IPE for programming. The IPE takes the place of legacy programming software like PICkit. It is designed to work with all...
  12. Replies
    17
    Views
    824

    Re: Programmer help

    True. If you want cheap, Microchip has their Snap Programmer, runs about $20 US. Works similar to the PICkit3.

    Over the years I accumulated an Olimex (never could get it to work), a PICkit2...
  13. Thread: Indented lines

    by mpgmike
    Replies
    2
    Views
    189

    Re: Indented lines

    White space matters with Labels and ASM. Labels must be tight to the left with a colon ":" at the end. If adding a single line of ASM, it is preceded by an At sign "@", white space, then the ASM...
  14. Replies
    17
    Views
    824

    Re: Programmer help

    ME Labs has the U2 Programmer. I own and use one.

    http://store.melabs.com/prod/u2/U2BUN.html
  15. Re: HPWM outputs only on two channels on PIC16F886, when it should do more.

    Another one with 16-bit PWM is the PIC16F17xx series. The PIC16F1778_9 even has 12-bit ADC.
  16. Re: HPWM outputs only on two channels on PIC16F886, when it should do more.

    You can feed PWM into a CLC and use the CLC interrupt. On the PIC16F1578, you have quite a list of interrupts tied to the PWM. There's 2 options for you.
  17. Re: HPWM outputs only on two channels on PIC16F886, when it should do more.

    Check out the PIC16F157X. It has 16-bit PWM with phase control and 4 channels. It sounds close to perfect for you.
  18. Re: HPWM outputs only on two channels on PIC16F886, when it should do more.

    I think I know what you're asking; 4 individual PWM outputs, same DC%, same freq. One initiates, then a time frame later the second goes high, a pause then the 3rd goes high, then after another...
  19. Replies
    5
    Views
    476

    Re: pic16f876a-i/sp replacement

    On your computer go to:
    C:\\Program_Files(x86)\PBP3_1\DOCUMENTATION and click on the PIC you wish to use. It will open a text document with every CONFIG, list the defaults at the top, then cover...
  20. Re: PIC 18F2431 PORTB.6 and 7 - strange behavior on restart after a few hours "rest"

    Reading instructions for the PICkit3 it explicitly states not to use any capacitors in the Vpp/MCLR line. Again, conflicting information?
  21. Thread: 18F66K80 adc

    by mpgmike
    Replies
    9
    Views
    536

    Re: 18F66K80 adc

    DEFINEs let PBP know what you put in the SFRs. For example, if you wish to use 12-bit ADC but don't DEFINE it, PBP uses the Default 8-bit. You may manually set the Sample, but if you don't DEFINE...
  22. Re: PIC 18F2431 PORTB.6 and 7 - strange behavior on restart after a few hours "rest"

    Odd. I was having similar issues and just happened to check this forum; what do you know? The answers provided helped me find my solution! Thanks all!
  23. Re: Flyback/forward power supply using comparator and hpwm/timer, possible?

    This is on a PIC16F18426, which PBP3 doesn't yet service -- so I used MPLABX and ASM. However, here is the important stuff translated to PBP:


    ; --- NCO SFRs: Generates Pulse to Inductor for HV...
  24. Re: Flyback/forward power supply using comparator and hpwm/timer, possible?

    I'm using NCO and a comparator to do pretty much the same thing. I just turn them on and ignore. Works completely through hardware in the background.
  25. Re: Elapsed timer not working as expected at 64MHz

    I found working with the UART SFRs, including interrupts, allows tossing another byte into the hopper when it's ready -- all while taking care of other business in the meanwhile. The HSEROUT command...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4