Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    19
    Views
    6,122

    Re: What does this error message mean?

    Yep. That was a typo. Thanks for catching that.

    Thanks so much for helping me with this. Sorry for not getting back sooner. I was out for two weeks with Covid and then I got sidetracked by a...
  2. Replies
    19
    Views
    6,122

    Re: What does this error message mean?

    Thank you very much for that lesson, Richard. I really need to work on learning ASM.

    I checked the amount of flash used on the previous version. It's at exactly 2k words with the inefficient PBP...
  3. Replies
    19
    Views
    6,122

    Re: What does this error message mean?

    That explains a lot. I should have realized what the problem was since the flash on the 16F684 is 2048 and the compiler was complaining about something being more than 2047.
  4. Replies
    19
    Views
    6,122

    Re: What does this error message mean?

    Wow. Nice catch. Eighth is spelled incorrectly too.
  5. Replies
    19
    Views
    6,122

    Re: What does this error message mean?

    I was worried about that. I'm using PBP3.0 midrange edition. I seem to recall a little counter in the lower left hand corner of the dev environment that told you how much space your code was using....
  6. Replies
    19
    Views
    6,122

    Re: What does this error message mean?

    I'm using the PIC16F684. The previous version of this code worked just fine when the PT2399 delay chip had a very precise delay time, but they have become inconsistent which causes the tap tempo...
  7. Replies
    19
    Views
    6,122

    Re: What does this error message mean?

    Duh. Sorry. I'm a pretty much a newb and it's been at least a year since I've used PBP. It took me like 2 days to figure everything that was going on here, and I was the one that wrote it.

    I'm...
  8. Replies
    19
    Views
    6,122

    Re: What does this error message mean?

    Sorry. It's pretty long. This is for use with an electronic music effect device - and echo module. It's doing 3 main things. The first is a signal routing/bypass that uses A5, C3, and C5 to turn...
  9. Replies
    19
    Views
    6,122

    Re: What does this error message mean?

    How do I locate the relevant code fragment?
  10. Replies
    19
    Views
    6,122

    What does this error message mean?

    [ASM ERROR] Argument out of range (2135 not between 0 and 2047) (0) : Error[126]

    When I click "compile" the progress bar gets all the way up to 100% and then it goes from green to red and I get...
  11. Replies
    5
    Views
    24,736

    Re: need help with PBP, I2C and MCP23017

    It's probably your copy and paste, because it's done it to me before on this forum, but if the code is indeed correct, your ANSEL, ANSELH, TRISC, and TRISA don't look right. It should a % sign...
  12. Replies
    13
    Views
    31,411

    Re: Learning how to use USART

    I removed the midi connections and just connected the TX of the transmitting PIC to the RC of the receiving PIC. Here is the code I'm using for each:

    transmitting:


    define OSC 20
    define...
  13. Replies
    13
    Views
    31,411

    Re: Learning how to use USART

    Adding the dec modifier didn't help. I tried adding it to hserout as well and it didn't work. Maybe it's my hardware. This is what I'm trying to use.

    8641

    Can you recommend something else...
  14. Replies
    13
    Views
    31,411

    Re: Learning how to use USART

    Yes, the LDC is working just fine. The baud rate is the standard MIDI baud rate. I'm trying to make a MIDI controller.

    I've updated the code with the suggestions and made it a little more...
  15. Replies
    13
    Views
    31,411

    Re: Learning how to use USART

    That didn't help. I also realized that PORTC register should have been TRISC=%10000000. I fixed that, but it didn't help either.
  16. Replies
    22
    Views
    32,149

    Re: PWM and audio noise

    Thanks for all the suggestions. I've been sidetracked by another project, but I will revisit this and give them a try and let you know how it works out.
  17. Replies
    13
    Views
    31,411

    Learning how to use USART

    I'm trying to get one PIC to talk to the other. I'm not using MIDI messages at this point, but I am using MIDI hardware to connect the two PICs. The schematics are found here ...
  18. Replies
    22
    Views
    32,149

    Re: PWM and audio noise

    I added at .1uF to the 5v and that did seem to reduce the noise a bit. Not to an acceptable level, but it did help.
  19. Replies
    22
    Views
    32,149

    Re: PWM and audio noise

    I'm using a small bread board. The PIC and power supply are on one side of the bread board. The jacks are on the other side. The jacks are your typical enclosed 1/4" stereo jack like a Switchcraft...
  20. Replies
    22
    Views
    32,149

    Re: PWM and audio noise

    To make this as simple as possible, all this is, is a 5v power supply, a PIC, and two 1/4" jacks that share ground. The PIC is only connected to +5v and ground. The CCP1 pin isn't connected to...
  21. Replies
    22
    Views
    32,149

    Re: PWM and audio noise

    I was hoping there was a solution in the software and not the hardware. I've seen other similar projects where they used the same PIC16F684 but used a 20MHz external crystal higher frequencies.
  22. Replies
    22
    Views
    32,149

    Re: PWM and audio noise

    It seems to be in the ground. Even so much as sharing the ground with shielded coax where the signal isn't even going anywhere near the MCU still has noise.
  23. Replies
    22
    Views
    32,149

    PWM and audio noise

    I'm trying to use PWM within a circuit that handles an audio signal. It's creating a lot of high frequency noise. I'm using a 16F684. I've tried separating the analog and digital ground planes. ...
  24. Re: LCD displays, rotary encoders, and the WRITE statement

    Thanks so much!
  25. Re: LCD displays, rotary encoders, and the WRITE statement

    Yes! That fixed it. I didn't realize that each data space had its own address. I thought everything in the statement was stored at the designated address.

    write 4, 1, 2, 3

    So 1 is stored...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4