Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Re: Here is example code - PIC12F683 4-dig 7-Segment display - driven by TM1637

    Thanks I just saw this.
    I'm not familiar with the MAX chip.
    But you're mentioning it - made me google it - and I do see one or two of these already integrated into a 7 seg display.
    Perhaps I'll...
  2. Re: understanding I2CWrite optional address parameter?

    I think its best for me to drop this conversation.
  3. Re: understanding I2CWrite optional address parameter?

    Thanks Richard
    Interesting how my analyzer shows two READ transactions following each WRITE transaction - and your's apparently does not.
  4. Here is example code - PIC12F683 4-dig 7-Segment display - driven by TM1637

    Hello,
    Below is some PBP3 code - to control a 4 digit 7-Segment display - driven by a TM1637
    The basic flow was written by a previous submitter (My sincere thanks!)
    I added functionality to...
  5. Re: understanding I2CWrite optional address parameter?

    Thanks!

    Here is the code:
    -----------------------------------------------------

    mainloop:
    for B0 = 0 to 255
    I2CWRITE SDA, SCL, $40, 0, [B0]
    pause 500
    next B0
  6. Re: understanding I2CWrite optional address parameter?

    Attached is also a screen shot of one of the I2C transactions.
    I was surprised to see two read transactions followed by one write transaction.
    Especially because there is no IC2READ occurring in...
  7. understanding I2CWrite optional address parameter?

    Hello,
    I was experimenting with driving a PCF8547P 8-bit IO chip today with a PIC12F683

    I tested it out by having it drive an LED bargraph

    I was scratching my head over the "optional" address...
  8. Re: getting my head around PICS with SR-Latch registers - and how to properly use the

    Thanks Hendrick!
  9. getting my head around PICS with SR-Latch registers - and how to properly use them

    Hello,
    I am just starting to play with the 16F1825 PIC which has SR latch registers.
    I understand the 16F1xxx family of PICs have the SR latch register - and previous PICs did not.
    I understand...
  10. Re: 2nd Set of Eyes - with my Config settings for PIC16F1825 - running internal 32mhz

    Thanks again - Richard!
    Much appreciate!
  11. Re: 2nd Set of Eyes - with my Config settings for PIC16F1825 - running internal 32mhz

    Thank you Richard!
    Much appreciate!


    Am I correct about the following also:
    16mhz internal clock: Set PLLEN off - and set IRCF = 1111
    8mhz internal clock: Set PLLEN off - and set IRCF = 1110
  12. 2nd Set of Eyes - with my Config settings for PIC16F1825 - running internal 32mhz OSC

    Hello all,
    I've ordered a few PIC16F1825 - and I'm excited about the internal 32Mhz OSC in this chip.
    I've been looking at the Datasheet and the PBP3 config file for this device - and I think I...
  13. Re: Make PIC simulate binary up/down counter - how to calculate how fast can it count

    Richard - thank you for pointing me to that PIC!!!
    I was going to ask about newer PICs with internal OSC running at higher speeds
    But I hadn't even imagined one running at 32Mhz

    Very sweet!!...
  14. Re: Make PIC simulate binary up/down counter - how to calculate how fast can it count

    Thank you Hendrik.
    That gave me a lot to think about.
    One of the examples in that thread has the pic checking for 4 possible conditions of two bits, and remembering the last condition of those two...
  15. Re: Make PIC simulate binary up/down counter - how to calculate how fast can it count

    Thank you Richard,
    Could you take a moment to describe what happens with edge detection on both channels?

    Sincere thanks!
    dw
  16. Make PIC simulate binary up/down counter - how to calculate how fast can it count?

    Hello All,
    I have a theoretical question about guesstimating how fast an input signal a PIC can track.

    I'd like to experiment with an 18pin PIC - such as the PIC6F627A
    I'd like to simulate a...
  17. Replies
    5
    Views
    6,669

    Re: Need help with 16F676 button press

    Well - you were right.
    I changed it back to a single = and it still works.
    So I can only guess.
    The only other change I made was to add the internal pull-ups and switch the buttons to press pins...
  18. Replies
    5
    Views
    6,669

    Re: Need help with 16F676 button press

    Hi Hentik,
    I added the second = to the While loop when I updated the IF statement.
    I can definitely change the IF statement back to a single = and see if it goes back to not working - just for a...
  19. Replies
    5
    Views
    6,669

    Re: Need help with 16F676 button press

    I found it!
    I changed

    if PORTA.0 = 1 Then second_pause

    to

    if PORTA.0 == 1 Then second_pause

    Its now working correctly
  20. Re: Looking for info - functions built-into PBP3 for controlling HD44780 displays?

    Wonderful!
    Thank you very much!
  21. Replies
    5
    Views
    6,669

    Need help with 16F676 button press

    Hello all,
    I've been playing with a clock program.
    The program will display 24hour on line 1 of an 8x2 LCD
    And display 12 hour time on line 2

    This is working fine.
    I now want to add a button...
  22. Re: Anyone worked with reading a sine/cosine encoder?

    I'm thinking there may be a way for me to get my head around the math that will be involved before I start hooking up the PIC to the encoder.

    I was thinking of plugging some numbers into an excel...
  23. Re: Anyone worked with reading a sine/cosine encoder?

    Thanks again!
    I'm looking into the 18F2431 as we speak!
    Greatly appreciate!! :-]
  24. Looking for info - functions built-into PBP3 for controlling HD44780 displays?

    Hello All,
    The HD44780 lcd display can run in 8-bit or 4-bit mode.
    It has to receive about a dozen commands at start-up to configure itself to run in 4-bit mode.

    Within PBP3 - the LCD is...
  25. Re: Anyone worked with reading a sine/cosine encoder?

    Thank you very much Hendrick!
    I had thought about firstly amplifying the signal - which has an amplitude swing of about 1.5 volts and bottoms out somewhere a little above zero.
    And doing that -...
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4