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.
Thank you for your reply sir,
I tried my code as per your suggestion.But I got error [type conflict] at while loop i.e.while(!(POS->port & POS->pin)) . I dont know why we are using (POS->port & POS->pin) rather than using POS->pin only.Also What is the use of variable 'Result'.
Please...
Hi,
I am trying to reuse a code for different pins in pic16f877a.For that i have use structure concept in C.I haven't completed my program.As I was a begginer to structures concept I compiled it for any syntax errors.I got [illegal conversion between types int -> struct DHT11] error.
#define...
I am doing a project in PIC16f877a with 2 DHT11 sensors.The sensors where placed at different places.But the code for both of the sensors were same.I would like to reuse the code.I dont know how to do that...
#define dht11pin locpin;
#define dht11dir locdir;
........
........
void main()
{...
I have programed my PIC16f877a to yield HIGH(logic 1) in all of the pins.But on execution it yields only utmost 3v.I tried programing in both Mplab IDE and Mikro C.It results same.Is there any mistake with my setting? As my Dev board contains 10MHz crystal I have selected HS oscillator.I use...
Thank you for your Reply Sir,I am using Proteus 8.1 in which I have integrated Hitech C as compilerinsted of default compiler.I have created my project in Mikroc which compiled successfully.When I copy & paste the same code in Proteus Source file.It gives lot of errors in source code while...
That same code gives error in Hiech c compiler...Whereas in mikroc it compiled sucessfully.In Proteus simulation I am using Hitech C compiler.Thatsy I need to convert my code to hitech c.Thank you for your response.
Hi,
I created a program in Mikro c which includes DHT11 sensor.The code got compiled sucessfully in Mikroc.I need to simulate in Proteus 8.1 which contains Hitech c compiler.I dont know how to convert that.So please help me to convert the code also correct any logic mistakes present in my...
Thank you for your reply,
The supply current is around 4mA.Unfortunately,I dont have any assets to check my clock.I didnt use any Reset switch.Also I checked the programer settings.These settings were correct.Is there any way to check clock using Multimeter without frequency measurement
I have programed my PIC16f877a to give high output at port D.But it does not produce any response.I suspect the controller for damage. But I can read and write my controller with PICKKIT2 v2.61. Please tell me whether the controller is damaged or not.
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.