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.
i2c long distance
I think it will be fast enough. Even if you check all sensors in 5s, it's still fast; I don't believe that someone could be so fast to enter, steal and leave from your house in a few seconds.
Re: transform constant char
Why don't you fix first the compiler errors??? :?:
First of all you have to remove ; from the for(...);
I don't know which are the lines 381, 382, 398, 390, 392, 393, 394, 403 in your code but the compiler reports errors on that lines.
Fix the compiler errors and...
model decimal multiplication pic
If you know how to implement division in asm, you can try : 432 x 236 / 100. And take care to keep the multiplicands on 16bits. You will loose some precision but you can avoid floating point in this way.
Re: transform constant char
Buna ziua:D
Unfortunately, I don't use CCS and I couldn't find in the manual of CCS none of the following function: lcd_outtext, lcd_gotoxy, c_str so I really don't know what they do.
But I try to offer you a suggestion:
void animatie(unsigned char coloana...
Re: light up led source code
I would suggest:
#include <16f877a.h>
void main()
{
output_high(PIN_B7);
while(1);
}
In your code, after the the LED is on, the microcontroler reaches the end of the program and resests. So the result will be a blinking of the LED with a very small duty...
Re: MPLINK linking out??
Maybe you have code optimizations enabled and the compiler(not the linker!) it's not generating code for the uncalled functions or unused variables...
Re: Call depth on interrupt
Let me show you a bad situation:
main()
|--------calls func1()
|--------calls func2()
|----------calls func3()
|---------calls func4()...
It does not matter what you actually write on the unimplemented bits, they will always be read as '0'. Your code should work. And it also should work if you put
movlw b'10110101' ;CONFIG adc: AN1 Analog input
pickit 2 stand alone software
Hello evios.
Did you try to burn another type of PIC, for example PIC16F84A or PIC16F877A or any other PIC except PIC16F88?
Are you sure you plugged in the ICSP connector/pins in the right way...?
Sorry for these stupid questions, but it's totally possible to...
pic16f88 hex
I have just programmed (with no error!) a PIC16F88 with PICkit 2 a few hours ago.
Maybe your PIC chip is damaged...You should try a new one.
tmr0 pic12f508
As much as I know, the most used ones are PIC12F508, PIC16F877A and PIC18F452.
But PIC16F887 is a good replacement for PIC16F877A! Basically is almost the same as PIC16F877A but it includes internal oscillator and has some minor differences in how to use its peripherals.
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.