Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    4,698

    Re: Problems posting private messages

    I am still getting logged off the forum with just about everything I do (Reading messages, trying to post,...). I also just noticed that there doesn't seem to be anyone posting new messages. The...
  2. Re: Help converting small PicBasic program to MP LAB

    Hello Henrik,

    I am trying to send you a private message, but I keep getting logged off each time I attempt to. Could you send me a private message so that I can see if reply works? Thanks,

    Jim
  3. Replies
    3
    Views
    4,698

    Problems posting private messages

    I am having problems posting private messages. I keep getting logged off with every attempt. I thought I would try a forum message to see if I have the same problem.

    Jim
  4. Re: Help converting small PicBasic program to MP LAB

    That worked Awesome! Thank you so much! I don’t know why I was thinking I was running at 4GHz, but even at 8GHz I didn’t think it would sound that good. Perfect!

    Jim
  5. Re: Help converting small PicBasic program to MP LAB

    I didn't think a 4MHz PIC would be fast enough to get a decent tone by toggling a pin in a loop, but I will definitely give it a try. The frequency is not critical, but I was looking for a nice...
  6. Re: Help converting small PicBasic program to MP LAB

    Art,
    I have working boards already designed using the 10F222, which I chose because of the small pin count and because the 10F322 could be used in its place (Except PBP does not support the 322). I...
  7. Re: Generating a series of high frequency pulses with pre-defined length.

    Something that toggles the port 1 time through the same loop would give you an equal 50% duty if that is what you are trying for:
    HEAD:
    PORTB.6 = PORTB.6 ^ %1
    Goto HEAD
  8. Re: What happens if interrupt breaks PULSIN, PULSOUT, ADCIN, PWM, etc statements?

    Can you just turn the interrupt off just before executing the Pulsout command and then turn it back on just after it is complete?
  9. Help converting small PicBasic program to MP LAB

    I am using a 10F222 6-pin device to simply generate a tone when trigger input is high. The tone is adjustable by using an analog input simply tied to a 10k POT between 5V and ground. The 10F222,...
  10. Anyone ever use a TI TPA2016D2 stereo Audio AMP?

    Has anyone ever used a TI TPA2016D2 stereo Audio AMP? It has an optional I2C interface for setting its functions. I am looking for a code example for setting gain. It is a QFN package, but there...
  11. Re: Small pin-count device for generating output frequencies when triggered

    Hi Dave,

    I just looked at the datasheet for the LTC6990 and it does look like it could work for what I need. I would have to test how the frequency ranges sound first, but it seems to have...
  12. Re: Small pin-count device for generating output frequencies when triggered

    Henrik,

    Without hardware PWM I don't really need to go any further with this. It is working good enough for what I need it for and the tone range is good. I knew this would be a very small...
  13. Re: Small pin-count device for generating output frequencies when triggered

    Thanks again Henrik,
    This works pretty good now. I would still like to get rid of the sound command and replace it with a steady HPWM signal eventually, but this will get me by for now and it...
  14. Re: Problems setting config bits on 10F222 part

    Thanks Scampy,

    That worked. I was using #ASM & #ENDASM instead of ASM & ENDASM.

    Jim
  15. Re: Problems setting config bits on 10F222 part

    Henrik,

    You are absolutely correct. I indented the entire line including the "@". It worked once I indented. I also tried the ASM/ENDASM without the "#" and that also worked.

    Thanks,
    Jim
  16. Re: Small pin-count device for generating output frequencies when triggered

    Dave,
    The program I wrote so far is just a simple test to generate sound (Attached). It uses the sound command like your program and it works, but I wanted to eventually use hardware PWM so that...
  17. Re: Problems setting config bits on 10F222 part

    Henrik,

    I did have the .inc file line commented out (That is the first thing I usually do when working with a new pic). I tried
    "__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_ON & _IOFSCS_8MHZ" indented...
  18. Small pin-count device for generating output frequencies when triggered

    I am trying to do what seems like one of the simplest PIC programming tasks I ever did and it is turning into a nightmare. All I want to do is use the smallest pin count device possible to monitor 1...
  19. Re: Problems setting config bits on 10F222 part

    Dave,
    I did try without the "PROTECT_OFF". I was testing different things and forgot I left that in there. I just tried what you sent me and I get errors with the #CONFIG and #ENDCONFIG. Maybe...
  20. Problems setting config bits on 10F222 part

    I have used many different pics before, but I am having a problem using a 10F222. In compiler options I have PBPL unchecked and under the assembler tab I have "Use MPASM" Checked (I am using a 64bit...
  21. Replies
    0
    Views
    2,273

    Does anyone recognize this pic programmer?

    I need to program some PICs that my pickit3 does not support. In searching through my ZIF adapters (To see if any can be adapted to work with the U2 programmer) I came across an old programmer I...
  22. Re: Help Choosing the correct PIC for 2 Channel PWM

    Yes, Registers are what I meant. I just ordered a few PIC10F322 & 12F1840 chips (They are very small - 6 & 8 pin). I figure the best way to be sure I get the tones I want at a volume I expect would...
  23. Re: Looking for someone who can program a Pic16C745

    Mark,

    I have the source code in C (MPLAB) and compiled HEX code. I would like to see if you can flash them for me with the HEX code. I can wait until you get back. I made 4 boards. you can...
  24. Re: Looking for someone who can program a Pic16C745

    Hi Henrik,

    It is a discontinued design by someone else and made available for download with HEX file and C source code. It does use the USB module so it would probably be difficult to modify. I...
  25. Looking for someone who can program a Pic16C745

    Hello all,

    I have Hex code for a PIC16C745 and I already laid out boards with a Pickit 2 / 3 compatible header. I assembled 4 boards before I realized the pickit 2 / 3 can't program this device. ...
Results 1 to 25 of 64
Page 1 of 3 1 2 3