Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Thread: While Wend

    by ALFRED
    Replies
    9
    Views
    4,857

    Or just Loop: IF A = 1 AND B < 10 THEN B...

    Or just

    Loop:
    IF A = 1 AND B < 10 THEN
    B = B + 1
    GOTO Loop
    ENDIF
  2. Replies
    18
    Views
    9,308

    Do you mean how would you have the different LEDs...

    Do you mean how would you have the different LEDs flash a different number of times depending on how many times you push the button? This could be accomplished by waiting for the input pin to go high...
  3. Thread: While Wend

    by ALFRED
    Replies
    9
    Views
    4,857

    I am not sure if you can have more than one...

    I am not sure if you can have more than one condition in a WHILE WEND (although it would be easy enough to find out with a test program). If you can't have more than one condition then you could try...
  4. Replies
    21
    Views
    10,025

    I fixed the problem. As it turned out there was...

    I fixed the problem. As it turned out there was no problem with my origonal code. The problem lay in the configuration of pin B0. I traced the bad signals I was getting back to that point with my...
  5. Replies
    21
    Views
    10,025

    Here's the code: TRISA = 0 TRISB = 2 CMCON...

    Here's the code:

    TRISA = 0
    TRISB = 2
    CMCON = 7
    ADCON1 = %00001111
    ADCON0 = 0

    symbol Off_1 = PortA.0
    Symbol On_1 = PortA.1
  6. Replies
    21
    Views
    10,025

    I have been recompiling the code for the PIC I...

    I have been recompiling the code for the PIC I want to use all along and it still does not work. My hardware is built so that all the corsponding I/O pins on ports A and B are conected to the same...
  7. Replies
    21
    Views
    10,025

    Code Compatibility Issue

    Hello, I am working on a program that checks the continuity of several circuits and processes the data to genarate several output signals. I have the code working flawlessly on my 16F84A but when I...
  8. Replies
    18
    Views
    11,713

    If you find MOSFETs confusing you may wish to use...

    If you find MOSFETs confusing you may wish to use an H-Bridge IC. The SN754410 is a full H-bridge in a DIP package. I have successfuly used this chip to drive two motors forwards and backwards on a...
  9. Thread: PIC Audio

    by ALFRED
    Replies
    28
    Views
    18,353

    I recomend using an lm386 audio op amp to handle...

    I recomend using an lm386 audio op amp to handle the amplification. If you boost the gain up by connecting a 20uf capacitor accross pins 1 and 8 you may get some distortion at the ouput to make your...
  10. Replies
    4
    Views
    6,496

    My project will be using SRAM. EEPROM or flash...

    My project will be using SRAM. EEPROM or flash will not work since I will be constantly re-writing the memory. I understand that external memory busses have been around but on some of the microchip...
  11. Replies
    4
    Views
    6,496

    PBP External Memory Bus Support

    I am working on a project that will require large amounts of RAM. It has come to my attention that some of the new PICs include an external memory bus. Apperently, this bus is able to acces up to 2MB...
  12. Thread: Input problems

    by ALFRED
    Replies
    6
    Views
    4,561

    It worked!! thanks for the idea Chris. I am still...

    It worked!! thanks for the idea Chris. I am still not exactly clear on why it didn't work the first time but hey, it works now so no complaints. again thanks for all the help.
  13. Thread: Input problems

    by ALFRED
    Replies
    6
    Views
    4,561

    Hey guys, thanks for the ideas. Although what...

    Hey guys, thanks for the ideas. Although what Chris said seems to make sense, I was able to run this code on a PIC16F88 with no problems at all. I also wrote a similar program that uses portc.4 as...
  14. Thread: Input problems

    by ALFRED
    Replies
    6
    Views
    4,561

    Input problems

    Hello, I am having some trouble geting simple data into my PIC16F767. I have writen a program that goes somthing like this.

    TRISB = %11111111
    TRISA = %00000000
    ADCON1 = %00001111

    Start: IF...
  15. Replies
    1
    Views
    3,079

    Servo Code problem

    Hi, I recently wrote a program to control 12 servos. The program ran perfectly on my PIC16F84-A but when I tried to run it off my 16F88 it did not control all of the servos properly. The F88 caused...
  16. Thread: Serial link

    by ALFRED
    Replies
    0
    Views
    2,696

    Serial link

    Hi, does anyone know how I could transfer byte sized variables from one PIC to another? I would like to use the USART for my application but I could not make it work. From my understanding the USART...
  17. Replies
    24
    Views
    16,284

    HI, I tried the code that Ron Marcus posted and...

    HI, I tried the code that Ron Marcus posted and it did not work. I think the problem is in the receiver PIC software, (when I hook a speaker up to the serial line I can hear the data flowing). I...
  18. Replies
    24
    Views
    16,284

    Hi, I tried Ron Marcus's "endif" and it did not...

    Hi, I tried Ron Marcus's "endif" and it did not compile. nothing seems to be working and I am beginning to thing that I should try the HSERIN and HSEROUT commands instead. My actual application will...
  19. Replies
    24
    Views
    16,284

    Hi, i just realized that I typed my code in...

    Hi, i just realized that I typed my code in wrong. I had it the way you suggested but it still doesn't work. any other ideas of what could be wrong?
    Thanks for any more help.
  20. Replies
    24
    Views
    16,284

    Serial comm between two PICs

    Hi, I am trying to interface two PICs together via serial connection. I am using two PIC16F88s running at 4mhz. PortB.0 on the tx chip is connected to PortB.0 on the rx chip. I have a button...
Results 1 to 20 of 20