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; generated 31 minute(s) ago.

  1. 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...
  2. Replies
    19
    Views
    633

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

    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...
  4. Replies
    27
    Views
    871

    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...
  5. Replies
    27
    Views
    871

    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...
  6. Re: "Variable already an alias" - is there a way to avoid this?

    Try:
    AX CON PORTD.3
  7. Replies
    1
    Views
    224

    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...
  8. Replies
    6
    Views
    500

    Re: Random Picture Thread

    Not just a female thing:
    8853
  9. Replies
    31
    Views
    1,835

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

    Re: Random Picture Thread

    This is an open thread. Please post your amusing pics.
  11. Replies
    6
    Views
    500

    Random Picture Thread

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

    by mpgmike
    Replies
    2
    Views
    504

    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...
  13. 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...
  14. Replies
    3
    Views
    447

    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....
  15. 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,...
  16. Re: Controlling OG-4 Decathron with PBP in an efficient way.

    What is "next" doing? Is that a forgotten relic from previous versions?
  17. 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.
  18. Re: Controlling OG-4 Decathron with PBP in an efficient way.

    In your code at the top of the page you list TRISIO=%00001000. Of course GPIO.3 is MCLR and is Input only. In the previous post you state you are having problems with TRISIO=%00100000. It's...
  19. Replies
    31
    Views
    1,835

    Re: Asm sleep - pbp sleep

    @ SLEEP
    @ NOP

    It often makes a difference adding the NOP right after SLEEP.
  20. Re: Customizing the DT_INTS-XX.bas Instant Interrupt

    Are you resetting the PIR0.IOCIF or IOCCF.5? This would be in the DT_INTs. It's possible you're trying to clear the wrong flag. PIR0.IOCIF is read only and is Hardware cleared when IOCCF.5 = 0.
  21. Replies
    9
    Views
    669

    Re: Slowing down a clothes dryer

    Since you don't know what sort of motor is controlling your drum motor, I would guess it's just a basic AC induction motor. That being said, the speed of the motor is based on the AC input...
  22. Re: Is it possible to make unidirectional serial port via 1 pin with PBP?

    Just for ideas, I believe the DH11 (or whatever it is) temperature & humidity sensor uses 1-wire communication. You might also look at CAN, and I2C for ideas. You would need an Open Drain pin (when...
  23. Re: Controlling OG-4 Decathron with PBP in an efficient way.

    Most everything PIC made in the past decade features LATx Registers;
    LATB.0 = 1
    (Of course you could also insert a bit of ASM if FOSC cycles are important:)
    @ BANKSEL LATB
    @ BSF LATB,0
  24. Re: DT-Interrupts - Is there a clash between ExtInt and IntOnChange?

    The best anyone could is merely guess without being able to review your code. Please post what you did, adding generous comments, so others can review & critique.
  25. Replies
    10
    Views
    1,004

    Re: Which is most common PIC chip, after 16F628A?

    May I suggest you look at the PIC18F2_46K22 family. It's new enough it sports many features and fairly generous memory, yet old enough that most versions of PBP can work with it.
Results 1 to 25 of 99
Page 1 of 4 1 2 3 4