Hello,guys I have a code for LC meter using nokia 3310 display and PIC16F876A microcontroller. Which is written by some other person.The code is packed by winrar. When i extract the .rar file i have noticed that inside the folder there are three .c files and as well as three corresponding .h file. The three header files are
1. "display.h" Which probably displays various values and to adjust screen.
2. "lcd3310.h" which is for activate the lcd module
3. "main.h" the main program.
Now inside the main program the above 3 header file is mentioned.Like below
My question is how does the program works?? and which file should be uploaded in to the micro controller??
This time i wanted to use 0.96? OLED I2C Display Module.And I have a code for this.
But as per my knowledge the entire code should be inside just one .C file not like 3 mentioned above.
My question is
1. What will be the difference if i use 3 separate code instead of just one main program Which consist of three part ?
2. If i write 3 individual code mentioned above then How can i join them and compiled them in to above??
Please give a detailed advise as i am a programming beginner.
1. "display.h" Which probably displays various values and to adjust screen.
2. "lcd3310.h" which is for activate the lcd module
3. "main.h" the main program.
Now inside the main program the above 3 header file is mentioned.Like below
My question is how does the program works?? and which file should be uploaded in to the micro controller??
This time i wanted to use 0.96? OLED I2C Display Module.And I have a code for this.
But as per my knowledge the entire code should be inside just one .C file not like 3 mentioned above.
My question is
1. What will be the difference if i use 3 separate code instead of just one main program Which consist of three part ?
2. If i write 3 individual code mentioned above then How can i join them and compiled them in to above??
Please give a detailed advise as i am a programming beginner.