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

    Re: Random Picture Thread

    Not just a female thing:
    8853
  2. Replies
    31
    Views
    1,043

    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,...
  3. Replies
    6
    Views
    283

    Re: Random Picture Thread

    This is an open thread. Please post your amusing pics.
  4. Replies
    6
    Views
    283

    Random Picture Thread

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

    by mpgmike
    Replies
    2
    Views
    248

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

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

    What is "next" doing? Is that a forgotten relic from previous versions?
  10. 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.
  11. 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...
  12. Replies
    31
    Views
    1,043

    Re: Asm sleep - pbp sleep

    @ SLEEP
    @ NOP

    It often makes a difference adding the NOP right after SLEEP.
  13. 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.
  14. Replies
    9
    Views
    449

    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...
  15. 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...
  16. 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
  17. 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.
  18. 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.
  19. Replies
    24
    Views
    3,137

    Re: DT_INTS for K42

    Microchip has online training that covers ANSI C, MPLABX, MCC, a long list of useful projects, and more:

    http://microchipdeveloper.com/training-self:start

    I have learned much from their...
  20. Re: 16F887 - PORT pins interfere with each other when set high/low

    Hmmm, if you are using a 10k pull-up to VDD and a button to ground, do you have an additional 10k resistor between the button and PORTA.0? If so you have a voltage divider possibility where the...
  21. Replies
    24
    Views
    3,137

    Re: DT_INTS for K42

    I agree with Richard in that I also have learned to work with C in MPLABX, but I was able to use PBP command structures to use newer functions that don't have PBP commands. I didn't need to resort...
  22. Re: 16F887 - PORT pins interfere with each other when set high/low

    I don't use this particular Model T PIC, so I reserve the right to miss some quirks. Here are things I would check:

    1. You don't list your CONFIGs, but try disabling the WDT. It could be...
  23. Replies
    24
    Views
    3,137

    Re: DT_INTS for K42

    Conventional wisdom states that ISRs should do only minimalistic functions. Never call a subroutine from an interrupt handler. Never use PAUSE type statements. In short, turn something on or off,...
  24. Replies
    24
    Views
    3,137

    Re: DT_INTS for K42

    Although a bit dated, my first recommendation is "Applying PIC18 Microcontrollers", by Barry B. Brey; Copyright 2008 by Pearson Education. ISBN-13: 978-0-13-088546-3.

    Another recommendation is...
  25. Replies
    6
    Views
    418

    Re: Virtual breadboard?

    That would be a "Debugger". I know MPLABX can debug, not sure about Proteus or other "simulators".
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4