Search Results - MEL PICBASIC Forum



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds; generated 22 minute(s) ago.

  1. Replies
    9
    Views
    471

    Re: What is causing my problem?

    Related to PORTB, I can see that only the ANSEL register is different.

    I have some doubt if the ANSEL needs to be set to 0 on this chip.

    If that does not help, then perhaps you can try by...
  2. Replies
    9
    Views
    471

    Re: What is causing my problem?

    Is it possible you did not set the TRISx register (where x is the port name) ? Perhaps the pin is an analog one by default and you haven't configured it for digital use?

    these are what I can...
  3. Replies
    8
    Views
    690

    Re: Sleep does not really sleep...

    Not too difficult to check for key release to act on.

    Right now you are checking a keypress when the portb value is different from $78

    Key release is simply getting the transition from (Not...
  4. Replies
    8
    Views
    690

    Re: Sleep does not really sleep...

    Couple of things that caught my attention

    1 - in keyscan, this lne should ensure the rows are high
    portb=~dcd ix 'invert polarity
    So, I guess, you should add
    portb=~(dcd ix) +...
  5. Replies
    3
    Views
    495

    Re: Pulse train capture

    The HCS301 is a KEELOQ encoder device and what you are possibly asking is for the decoder code.

    Have you seen AN744? It gives a decoder in C. Should not be too far away from implementation in...
  6. Replies
    14
    Views
    4,706

    Re: BH1750FVI sample code available?

    You ought to be sending this way



    Assuming ADDR pin is low

    i2cwrite ldta, lclk, $46, adr, dat

    and read by
  7. Replies
    14
    Views
    4,706

    Re: BH1750FVI sample code available?

    1 - use the appropriate I2C address for the device based on the hardware pin state
    2) Slave Address
    Slave Address is 2 types, it is determined by ADDR Terminal
    ADDR = H ( ADDR ≧ 0.7VCC ) →...
  8. Replies
    7
    Views
    849

    Re: Matrix keyboard with State Machine

    If you're able to understand arduino C, look at the arduino matrix keyboard example. Nice FSM implementation https://domoticx.com/arduino-library-keypad/
  9. Thread: Season wishes

    by Jerson
    Replies
    2
    Views
    687

    Re: Season wishes

    Thank you Ioannis. I wish you and yours a Merry Christmas and a bright New Year
  10. Thread: USB Keyboard

    by Jerson
    Replies
    19
    Views
    6,132

    Re: USB Keyboard

    very nice instructive videos
  11. Thread: USB Keyboard

    by Jerson
    Replies
    19
    Views
    6,132

    Re: USB Keyboard

    If you follow the HID descriptor fields, you will notice you need to change the report count for the report which has to carry more data. The endpoint buffer is just a holding place for the in/out...
  12. Replies
    19
    Views
    3,255

    Re: What does this error message mean?

    A lot has transpired while I was asleep in my TimeZone. I think you found your answer.
  13. Replies
    19
    Views
    3,255

    Re: What does this error message mean?

    Post your code. It is easier for experienced members to help you as they might be able to try out the code to see the issue you have.
  14. Replies
    19
    Views
    3,255

    Re: What does this error message mean?

    Since you haven't shown the relevant code fragment, I suspect you are getting an error at a branch instruction that is branching past the 2048 bytes page size.
  15. Thread: USB Keyboard

    by Jerson
    Replies
    19
    Views
    6,132

    Re: USB Keyboard

    The easy part is to first verify the mouse code emulates correctly when connected to the PC. This ensures the skeleton is a working one.

    The not so easy thing to do is to get the Descriptor...
  16. Replies
    14
    Views
    2,234

    Re: why are we getting hit with all this spam?

    I am seeing many spammers have taken a liking to this site.. Either the work from home has given them more time on hands or the site has a vulnerability that they've found.

    First post approval...
  17. Thread: Audio player

    by Jerson
    Replies
    13
    Views
    1,924

    Re: Audio player

    Hi Ioannis

    Not sure how you can order Aplus where you are. Perhaps you may need to buy direct from the manufacturer in Taiwan. I used to source mine locally from a distributor in tiny...
  18. Thread: Audio player

    by Jerson
    Replies
    13
    Views
    1,924

    Re: Audio player

    The APR and ISD chips are basically meant for human voice and not high fidelity. They're inteded for TAM (answering machines) use.
  19. Thread: Audio player

    by Jerson
    Replies
    13
    Views
    1,924

    Re: Audio player

    I just remembered. There are these series of chips from Aplus that do exactly what you want. They are available in various capacities and can be segmented. So, you could record a few segments and...
  20. Thread: Audio player

    by Jerson
    Replies
    13
    Views
    1,924

    Re: Audio player

    Depending on the samples and quality, you may find that you need quite a bit of storage (SD card with SDIO interface). The power of the PIC to handle raw samples may be severely short to get a...
  21. Thread: Read from pic?

    by Jerson
    Replies
    1
    Views
    1,012

    Re: Read from pic?

    I am not aware of any tool that can reverse a HEX code to a high level code. The minimum is possible HEX to ASM
  22. Replies
    27
    Views
    4,861

    Re: Is there a wise way to debug a large code?

    If you want goto premakro to run when ticker>=150, perhaps you need to reframe that part with the else....endif

    I wouldn't mind looking over the code if you want.
  23. Replies
    26
    Views
    10,409

    Re: Graphical Displays with PBP3

    You've done an excellent job. Would you consider posting a small video demo to visualize the results?

    Warm wishes
  24. Replies
    3
    Views
    4,170

    Re: Merry Christmas to all...

    Merry Christmas to all who read this message - Thank you Dave.
  25. Re: Variables change depending on a SEROUT2 command placement in code

    Your Key_Cnt variable increments inside the IF condition and therefore, placing the SEROUT statement before the IF works correctly.

    You need to investigate that IF statement with this in mind.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4