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

    by mpgmike
    Replies
    8
    Views
    129

    Re: Audio player

    Microchip Security Devices.
  2. Thread: Audio player

    by mpgmike
    Replies
    8
    Views
    129

    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...
  3. 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.
  4. 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...
  5. 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...
  6. 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.
  7. Replies
    13
    Views
    369

    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...
  8. 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...
  9. Thread: Random PBP

    by mpgmike
    Replies
    14
    Views
    5,030

    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.
  10. Replies
    4
    Views
    238

    Re: Microchip Chip Shortage

    [... and the crickets chirp quietly...]
  11. Replies
    5
    Views
    405

    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,...
  12. Thread: Loop issues

    by mpgmike
    Replies
    18
    Views
    1,041

    Re: Loop issues

    Just for diagnostics, try putting "goto main1" as the very first line in your "main:" If it goes there, then we need to look at something else. If not, there's something wrong with main1:.
  13. Replies
    8
    Views
    7,094

    Re: DHT Sensor Library

    Scampy, thanks for the visit.Can I get you a cup of coffee? Pertaining to TFTs, I started working with the Nextion touch screens. There is an article series still running in Nuts and Volts Magazine...
  14. Replies
    32
    Views
    2,595

    Re: How exactly LCDOUT statement works?

    This thread illustrates why I use maybe 80% of the PBP commands, but manually work with SFRs for the other 20%. I don't use LCDOUT (and several other commands), as they occasionally don't work with...
  15. Replies
    3
    Views
    468

    Re: Strange Contactor Problem

    It seems the quality of practically everything is deteriorating. Try a different relay and see if the problem goes away.
  16. Re: DT-ints and elapsed timer compilation errors.

    In addition to the forums, ME Labs offers this:

    https://melabs.com/resources/index.htm?source=footer
  17. Re: DT-ints and elapsed timer compilation errors.

    Jmgelba, your join date is 2004, which means you aren't green (new). Like anything, Microchip has evolved with newer PIC offerings sporting more power, more Peripherals, and at cheaper prices. MCP...
  18. Re: Handling a lot of text data, any simple and practical ways?

    It was once stated by someone with a certifiable IQ that boggles the mind, "There is nothing new in the universe". On a more micro scale, many issues we face as we try to get tiny little black...
  19. Re: DT-ints and elapsed timer compilation errors.

    Richard, I'm impressed! You are noting things I never knew! I don't use ancient PICs like the 18F1320, but never would have guessed your answer. Nice work, and thanks for sharing your wisdom.
  20. Thread: PBP3 Update

    by mpgmike
    Replies
    5
    Views
    987

    Re: PBP3 Update

    There appear to be a couple bugs related to the Q43 UART functions. Check the ME Labs Forum thread for more details.
  21. Thread: PBP3 Update

    by mpgmike
    Replies
    5
    Views
    987

    Re: PBP3 Update

    It is PBP3.1.4.4, just scrolling through the Microcontroller select drop-down, it adds Q10 and Q43 chips. If you purchased v3.1, it is a free update. If you have the ME Labs U2 Programmer, you'll...
  22. Thread: PBP3 Update

    by mpgmike
    Replies
    5
    Views
    987

    PBP3 Update

    Charles just posted a PBP3 update that includes the PIC18FxxQ43 chips.
  23. Replies
    2
    Views
    435

    Re: 18F4553 HPWM x2 problem

    Most of the newer PIC offerings have more than one Timer2/4/6 that can be used for CCP1/2/3 or PWM1/2/3.... Look at the PIC18FxxK40 and K42 offerings; both work with PBP3.1. I know there are more...
  24. Replies
    29
    Views
    13,629

    Re: Nextion LCDs... How to comunicate ???

    The article used a PIC16F18426, because that's what I needed for the Small Engine Ignition Timing Controller. Using a PIC18F would require different CONFIGs and probably different SFR bits, but...
  25. Replies
    27
    Views
    2,459

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

    Not that this would fix your issue, but you have:


    DIMMER: 'auto dim routine
    IF Z2=06 THEN HPWM 2,150,2000
    IF Z2=08 THEN HPWM 2,200,2000
    IF Z2=10 THEN HPWM 2,255,2000
    In this case I would...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4