Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds; generated 15 minute(s) ago.

  1. Replies
    8
    Views
    12,787

    Re: Reading incremental encoder interupt

    Hi I have a problem with interrupts code in pbp.I want to count encoder ticks in both directions,I have done the code without interrupt routine and it works fine but it is to slow for greater...
  2. Replies
    24
    Views
    16,254

    Re: Serial comm between two PICs

    Now I made a PIC2 as a transmiter and pic1 as a resiver becouse I have a LCD out on pic1 so I can see what is happening all the time.I took osciloscope and found that pic 2 is not transmiting...
  3. Replies
    24
    Views
    16,254

    Re: Serial comm between two PICs

    I had never use SERIN or SEROUT or DEBUG or DEBUGIN instruction so I can't shurely tell you what' right. I need to send decimal value of GREJAC from PIC1 to BR on PIC2.Then a decimal value of BR I...
  4. Replies
    24
    Views
    16,254

    Re: Serial comm between two PICs

    I am shure that the PIC1 is sending the diferent value every time becouse I have LCD out view on PIC1.I am not shure that PIC2 is resiveing the data becouse the adress of PIC2: 00 is allwayes FF.So...
  5. Replies
    24
    Views
    16,254

    Re: Serial comm between two PICs

    It is not working.I tried with SERIN and SEROUT instruction but it is the same thing.Is it the SERIN and SEROUT code wrong written?
    TRISC=%00000010
    PORTC=%00000000
    INCLUDE "Modedefs.bas"...
  6. Replies
    24
    Views
    16,254

    Re: Serial comm between two PICs

    Ahaa I will change PIC1 code to DEFINE OSC 8 and then I will let you know what will happen.Thanks.
  7. Replies
    24
    Views
    16,254

    Re: Serial comm between two PICs

    Here are the codes of pic1 and pic2.Pic1 have the quartc on 8 MHz but I gave it a DEFINE OSC 4
    becouse the pic2 works at 4 MHz.I am shure that everything works in PIC1 exept DEBUG becouse I...
  8. Replies
    24
    Views
    16,254

    Re: Serial comm between two PICs

    Sorry, but it was wrong tiping the letter, but it is steel not working.
  9. Replies
    24
    Views
    16,254

    Re: Serial comm between two PICs

    I have a problem with comunication betwin two PIC-es
    PIC1-16F877A
    PIC2-16F628A

    PIC1 code:
    TRISC=%00000010
    PORTC=%00000000
    DEFINE BEBUG_REG PORTC
    DEFINE DEBUG_BIT 0
    DEFINE DEBUG_BAUD 2400
Results 1 to 9 of 9