Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: varable index buffer setup unsing a varable

    Unfortunately, the Linker will reserve memory you claim at compile time. I can only suggest reserve test3 var byte[maximum expected size]. Unless you're scarce on SRAM, it shouldn't matter.
  2. Re: PIC16F15355 config setting to work on internal OSC with clock 4MHz

    FCMEN is the Clock FailSafe Monitor for EXTOSC. If your crystal oscillator fails, FCMEN will revert to INTOSC, for safety sake. If you aren't running EXTOSC, you don't need FCMEN. It probably...
  3. Re: Replacing array member on the fly (big LCD characters idea)

    I am using the Nextion displays more and more. Not only can they display anything you like, they're easy to program, use a simple UART communication protocol (with user defined Baud rate), and...
  4. Replies
    11
    Views
    927

    Re: Sample code for USB - MIDI

    Most of the USB code floating around is based on the HID class. However, if you download the current Microchip Libraries for Applications (MLA), and go to:

    mla/v2018_11_26/apps/device/audio_midi...
  5. Re: PIC16F15355 config setting to work on internal OSC with clock 4MHz

    My understanding is that "FCMEN_ON" is only needed with an external oscillator. If it fails, the PIC reverts to INTOSC.

    Also, if you just configure your OSCCON1 for 32 MHZ, you can then select 4...
  6. Replies
    13
    Views
    2,337

    Re: Weirdness with 16F1705's eeprom and DAC

    Try ANSELA = 5 ;%00000101, Configures RA0 & RA2 as Analog
  7. Replies
    5
    Views
    1,074

    Re: Multiple problems with PIC16LF15313

    I believe these newer PICs default to analog inputs. Try:

    ANSELA = 0
  8. Replies
    7
    Views
    4,079

    Re: Config & Oscon settings 16F1825

    Just a casual observation; you're posting to a 9 year old thread instead of starting your own. In this 9 year old thread you can plainly see the working examples listed in previous posts:


    ...
  9. Re: ADC keyboard and fast response to user input, possible?

    You didn't show how you're dealing with ADC; FRC? or are you using the ADCCLK and manually timing it? If I have issues where a quick read proves inaccurate, but a repeated or longer read shows...
  10. Replies
    19
    Views
    2,641

    Re: Unable to execute MPASMX

    As it stands, Charles has told me that there will be updates to PBP3, but nothing past using MPLABX v5.35 because of the obvious MPASM death. However, if you download MPLABX v5.35 and create a new...
  11. Replies
    3
    Views
    800

    Re: good story about Microchip

    In spite of their shortcomings, Microchip certainly puts forth a good effort. I looked into other options, and the only non-Microchip 8-bit I found was Texas Instruments. Perusing their data...
  12. Replies
    27
    Views
    3,094

    Re: How to prevent variable going below zero?

    You don't state what PIC this is for, so I randomly grabbed the data sheet for a PIC16F1824; STATUS Register 3-1, page 24.

    STATUS <7:5> = Unimplemented, read as 0
    STATUS.4 = TO: Time-Out bit...
  13. Replies
    27
    Views
    3,094

    Re: How to prevent variable going below zero?

    First, you didn't include what size your "z" & "i" variables are; var BYTE or WORD? If you declared them as BYTEs then 256 becomes your roll-over value, not 65536. If you are adding and want to...
  14. Re: "Variable already an alias" - is there a way to avoid this?

    Try:
    AX CON PORTD.3
  15. Replies
    1
    Views
    788

    Re: MCU with ICSP instead of PGD/PGC

    PICKit4 probably killed your PIC16F57. In the Eratta for the PICKit4 it mentions putting a 100 ohm resistor in series with the ICSP pins. Apparently the PICKit4 outputs a higher voltage than the...
  16. Replies
    6
    Views
    1,283

    Re: Random Picture Thread

    Not just a female thing:
    8853
  17. Replies
    31
    Views
    4,259

    Re: Asm sleep - pbp sleep

    I make it standard practice to list the CONFIGs at the top of my code so it HAS to be programmed, and at the settings of MY choice. For every PIC part your version of PBP is capable of programming,...
  18. Replies
    6
    Views
    1,283

    Re: Random Picture Thread

    This is an open thread. Please post your amusing pics.
  19. Replies
    6
    Views
    1,283

    Random Picture Thread

    8851
    Saw this on a car forum.
  20. Thread: breadboarding

    by mpgmike
    Replies
    2
    Views
    1,131

    Re: breadboarding

    ...or possibly Watchdog Timer nipping your butt. Somehow it sounds like you are getting a Reset condition, or maybe a Brown-Out. Check your VDD supply voltage when it quits. If it isn't what you...
  21. Re: Problems programming a 10F206 PIC using the Melabs U2 USB Programmer

    Referencing Figure 1 (page 2) of the PIC10F200/202/204/206 data sheet, VDD is pin 5 and VSS is pin 2. How did you physically mount a PIC10F206 into a ME Labs U2 Programmer?!?

    You are going to...
  22. Replies
    3
    Views
    1,055

    Re: PIC equivalent 80c51

    In addition to the PIC12_6_8F offerings, there are also dsPIC30_3 and PIC24 PICs; albeit they are not covered by PBP. I barely glanced at the 8051 data sheet, so I know virtually nothing about them....
  23. Re: DT-Interrupts - Is there a clash between ExtInt and IntOnChange?

    Here's a crazy thought; if you have 2 interrupts doing virtually the same thing, why not do both functions with only 1 interrupt? If your 100 Hz mains interrupt is clocking the same as your Timer 1,...
  24. Re: Controlling OG-4 Decathron with PBP in an efficient way.

    What is "next" doing? Is that a forgotten relic from previous versions?
  25. Re: Controlling OG-4 Decathron with PBP in an efficient way.

    Did you try a new PIC? I've never seen what you're describing. Thinking something internal might be whacked.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4