Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
well, if it loops into 2nd while loop, it is impossible to exit to 1st while loop, right? i found that the problem is in my data receiving function, but things still don't work even if i put (RC2==0) in the read_packet function.
unsigned char uart_rec(void) //receive uart value
{
unsigned...
for some reasons, my code isnt running as how it is suppose to run. can help me to figure out where is the problem? the program suppose to run like this: my PIC receives data from another PIC and pin Dx will become high if the corresponding correct bit received. and if RC2 is not low, port D...
well, i don't have a circuit diagram with me but it is just simply connecting 5v or gnd (check active low or active high of your MCU) to port c then output port D to LEDs then gnd. ;-) and this code needs to be amended due to some errors.
I have a VU meter circuit as above with a condenser mic which i bought online **broken link removed** and is wondering how can i apply the output of the mic to the audio input of LM3915? do i simply amplify the mic output then connect to the circuit?
im using 16F877A and my hardware is not working. my program supposes to light up LED for 2 secs after releasing a button. just recently changed to MPLAB. below is my code:
#include <pic.h>
#define _XTAL_FREQ 20000000
void main(void)
{
TRISD = 0b000000;
TRISC =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.