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...
Type: Posts; User: rakickv; Keyword(s):
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...
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...
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...
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...
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"...
Ahaa I will change PIC1 code to DEFINE OSC 8 and then I will let you know what will happen.Thanks.
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...
Sorry, but it was wrong tiping the letter, but it is steel not working.
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