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.
I'm facing this problem while compiling my code using mikroc for PIC16F877.
that's my code:
// Software I2C connections
sbit Soft_I2C_Scl at RC3_bit;
sbit Soft_I2C_Sda at RC4_bit;
sbit Soft_I2C_Scl_Direction at TRISC3_bit;
sbit Soft_I2C_Sda_Direction at TRISC4_bit;
// End...
Hello everyone ,
I'm using pic16f877, programing it with mikro_C. In order to extand my I/O pins i've used HEF4094 in my isis disgn ( it was not a choice i have to) so could some one help with a code example to manipulate the HEF4094 because i would know which output is activated in each time .
Hello everyone ,
I'm using pic16f877, programing it with mikro_C. In order to extand my I/O pins i've used HEF4094 in my isis disgn ( it was not a choice i have to) so could some one help with a code example to manipulate the HEF4094 because i couldn't find a way untill know.
Actually i did not know it becaus i am still an amateur the problem was about the inverted signals i found the solution, although that, i appereciate your help thanks
I have saved my code using mikroc and it worked very well during the simulation using Proteus:ISIS. BUt, when i've added max 232 and reconnect virtual terminal but the simulation is no longer the same.
I've gotten a crypted message in the virtula terminal dispaly. what should i do ?
This a code example that i found in I2C libraru of mikroc
//--------------------- Reads time and date information from RTC (PCF8583)
void Read_Time() {
Soft_I2C_Start(); // Issue start signal
Soft_I2C_Write(0xA0); // Address PCF8583, see PCF8583 datasheet...
I would thank you, both of you, for your help but i'm working on pic16f877 and not pic 16f877A.
I've made more research and i found that there is nothing to be done to enable or disable comparater in pic16f877 because there is not such a thing, if i've understood really well what i've read and...
i'm programming using mikroc c.
i'm still an amateur in the filed of c programming. I wanna copy that i found in mikro c library and i'm missing a trick whcich is how to disable the comparator because i'm working on pic16f877
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.