Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: USB Keyboard

    by Jerson
    Replies
    9
    Views
    902

    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...
  2. Replies
    14
    Views
    830

    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...
  3. Thread: Audio player

    by Jerson
    Replies
    13
    Views
    791

    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...
  4. Thread: Audio player

    by Jerson
    Replies
    13
    Views
    791

    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.
  5. Thread: Audio player

    by Jerson
    Replies
    13
    Views
    791

    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...
  6. Thread: Audio player

    by Jerson
    Replies
    13
    Views
    791

    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...
  7. Thread: Read from pic?

    by Jerson
    Replies
    1
    Views
    608

    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
  8. Replies
    27
    Views
    2,948

    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.
  9. Replies
    26
    Views
    6,946

    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
  10. Replies
    3
    Views
    1,826

    Re: Merry Christmas to all...

    Merry Christmas to all who read this message - Thank you Dave.
  11. 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.
  12. Re: Determining variable length (number of digits) possible?

    What you're looking for is commonly known as leading zero blanking. You could continue with filling blanks to digits after the value is zero. That is how you will achieve it.
  13. Re: Determining variable length (number of digits) possible?

    I will give a generic answer as my PICBasic skills are weak at the moment

    Assume your variable x contains 1000

    You can strip out digits like this from Right to left with position 0 at the right...
  14. Re: How is this data being formed from the values given?

    Hi Peter

    Let us walk through this as per what I suggested

    (100V-10)*126 = 11340 = $2C4C
    (150V-10)*126 = 17640 = $44E8

    Now suppose we drop the last nibble( divide by 16), you get $24C and...
  15. Replies
    11
    Views
    6,036

    Re: Sample code for USB - MIDI

    You probably didn't see this in the OM. Moreover, I wonder what being supermod got to do with helping someone
  16. Replies
    11
    Views
    6,036

    Re: Sample code for USB - MIDI

    Since you're looking for plain communication with the PC via USB, I can suggest you look up the USB CDC descriptor. This will turn your PIC into a USB comm port visible to your PC. You then just...
  17. Replies
    11
    Views
    6,036

    Re: Sample code for USB - MIDI

    have you tried the Windows based HID descriptor tool application? It contains some sample descriptors which can help you get started. I have not checked if it has a MIDI descriptor.

    I found a...
  18. Re: How is this data being formed from the values given?

    After a little analyses, this is what I got

    Output numbers = (Vin-10)*126 (could be more like 128 as it is then a left shift operation)
    So, converting into a table, this is what I see
    8963
    ...
  19. Re: Replacing array member on the fly (big LCD characters idea)

    I counted 8 custom characters and a full block(possibly from the existing character set). Is that correct?

    Enumerating,

    Full rounded top left corner,
    Full rounded top right corner
    Full...
  20. Replies
    19
    Views
    11,981

    Re: 12F683 Light Dimmer Problem (SOLVED)

    CAP100 is showing the wrong polarity.
  21. Replies
    19
    Views
    11,981

    Re: 12F683 Light Dimmer Problem

    Good work. Nice demo
  22. Replies
    19
    Views
    11,981

    Re: 12F683 Light Dimmer Problem

    Try this way.

    1. The zero crossing is where the triac turns off.

    2. You need the period between 2 zero crossings to decide the time after the zero crossing you need to turn ON the triac
    ...
  23. Re: ADC keyboard and fast response to user input, possible?

    I would try something like this. Of course, you have to

    define var key
    K_None con 0
    K_Inc con 1
    K_Dec con 2



    AdcSub:
  24. Replies
    3
    Views
    4,445

    Re: How to count the time while reading ADC ?

    I can offer you ideas only.

    If you're comfortable with interrupts, get a timer to ring every 1mS and keep tracking a variable that increments every ring and then use that variable that throughout...
  25. Replies
    7
    Views
    6,240

    Re: Output directly to input?

    Yes, you can. Output pins are the ones to create trouble when connected together.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4