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
    2
    Views
    68

    Re: issue PBP compile with win10

    Is this message stopping anything from working? If it's just a "Message", I wouldn't worry about it. There's usually a "Message" about how HPWM only works with CCPx modules, and so forth. A...
  2. Thread: USB Keyboard

    by mpgmike
    Replies
    9
    Views
    734

    Re: USB Keyboard

    I do believe there is a sub-category in the HID USB category specific to keyboards. Each key has its own command code. If you enumerate as a keyboard, it is just using what has already been...
  3. Re: Timing diagram for MSGEQ7 spectrum analyzer chip, is it correct?

    Welcome to our community, Grant. Looks like you are familiar with PBP already. Thanks for sharing your work. For future posts, you can put code in a smaller window by using [ CODE ] at the...
  4. Replies
    8
    Views
    550

    Re: Compiler (PBP v2.50C) errors

    Ioannis: Don't know, switched to the K40 and didn't bother sorting through them.

    CuriousOne: I make it a habbit to spell out ALL Registers for PORTs, ADC, and any other peripheral I use. ...
  5. Replies
    8
    Views
    550

    Re: Compiler (PBP v2.50C) errors

    I'm working on a project that just requires a 40 pin PIC; nothing fancy, any 40 pin will do. I have an old batch of PIC18F26K22's from a project years ago; brand new, bought from Digi-Key, still in...
  6. Replies
    8
    Views
    550

    Re: Compiler (PBP v2.50C) errors

    To droptail; you reloaded your older version of PBP onto a newer PC. What version of MPLAB(X) are you using? If you just went to the Microchip site and downloaded the latest, you have MPLABX...
  7. Re: How many times the loop turns for Darrel's "Kylon" LED chaser?

    Ok, try adding a few lines:



    Speed CON 24 ; Smaller=Faster
    TracerSpeed CON 15 ; Smaller=Faster
    Left/RightBrightness CON 255 ; Tracers
    DutyCycleDrainSpeed CON 30...
  8. Re: How many times the loop turns for Darrel's "Kylon" LED chaser?

    To make it adjustable, change the CON values to VAR values. You will have to initialize them to some value (try starting with Daryl's CON values), then somewhere change them as you see fit. First...
  9. Replies
    9
    Views
    372

    Re: When Driving An Indicator L.E.D.

    It may be helpful to try what HenrikOlsson suggested. Put a volt meter at the LED Anode (the + side, assuming the resistor is placed on the LED's "+" side) with a low value resistor (referencing the...
  10. Re: How to remove ghost directory from mocrocode studio

    Not is a position to try it right now, but for a lot of programs, just click on it. It may come back and say, "Not Found" (or something like that). "Do you want to delete it from your registry?" ...
  11. Re: What is the difference between serial communication and parallel communication?

    Parallel loads a single bit on each line of the Port, then clocks it out all at once. 8-bit Parallel uses 8 Data lines (and probably a clock line and one or 2 others). A 16-bit would have 16...
  12. Replies
    14
    Views
    800

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

    Years ago I ran a fuel economy forum. Apparently MPG = Miles Per Gallon and is used as an abbreviation for MPEG (as in movies). Some porn star who uses the same screen name as me (mpgMike) was...
  13. Re: "Stretching" a byte variable into two byte variables?

    I think this does it:


    Input VAR BYTE
    Wide VAR WORD
    X VAR WORD
    Y VAR WORD

    EnlargeYourByte:
    X = Input
  14. Re: Problem regarding mje13007 transistor control circuit

    NPN transistors and N-MOSFETs switch the Negative side of the circuit. If you want to control the Positive side, use a PNP transistor or P-MOSFET. With N- devices, the Gate or Base must be higher...
  15. Thread: Audio player

    by mpgmike
    Replies
    13
    Views
    756

    Re: Audio player

    Microchip Security Devices.
  16. Thread: Audio player

    by mpgmike
    Replies
    13
    Views
    756

    Re: Audio player

    I don't think you can encrypt an SD card. A password filter may be all you need. The bigger you make it, the better. I know Microchip offers specialty security chips that could be added to your...
  17. Re: Arraywrite converts all letters to uppercase?

    How are you checking the output? Is that what's displayed on an LCD? Maybe the issue is with the LCD. If you have a scope with comm protocol, verify the output from the PIC.
  18. Re: Thoughts on using I2C LCD... or should I just stick to 4 bit parallel mode?

    Wow! The unasked questions are numerous! Are you a hobbiest that wants to create a platform to build 1-4 "cool" projects for family and friends, or are you an engineer developing a product to be...
  19. Re: How does a CPU work on the hardware level?

    Your question is like asking, "In 100 words or less, explain how the ecosystem of Costa Rica compares to that of Norway." I suggest you find an older book on the subject, one written when...
  20. Re: How to do bitwise shift across several variables/array members?

    Start with the least significant byte, use the Shift-Left "<<", then check the STATUS Register Carry bit to see if you have to add one to the more significant byte after shifting.
  21. Replies
    27
    Views
    1,927

    Re: Multiplying with 11 using PIC

    Please feel free to correct any faulty assumptions.

    First realize that to multiply a frequency by 11, you are dividing a time frame by 11.

    What does your frequency input look like? Is it a...
  22. Re: How to read from single LOOKUP table into different variables?

    First thought is that you need a generic Buffer sized to the length you want to send. For example:


    LCD_Buffer VAR BYTE[18]

    I use the ARRAYWRITE command for what I think you're asking. Here...
  23. Thread: Random PBP

    by mpgmike
    Replies
    14
    Views
    5,355

    Re: Random PBP

    Most of the newer PICs have Internal Temp Sensing through the ADC Module. The Temperature result would be a good source for Random Seed generation, as it will fluctuate quite a bit.
  24. Replies
    4
    Views
    395

    Re: Microchip Chip Shortage

    [... and the crickets chirp quietly...]
  25. Replies
    5
    Views
    611

    Re: Can LM1458 Op-amp be replaced by LM1558?

    Try it. I haven't memorized the numerology for that device, but often a 1 digit difference refers to temperature range. For example, the LM358 is Industrial grade, the LM258 is Automotive grade,...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4