Shamooooot
Newbie level 6
Greetings
I started to learn how to program a PIC microcontroller but seems like I am not getting anywhere, I always have errors in my code even if I just copy and paste it from the web.
I just need to program a P16f874 so it can give me on the LCD
Missouri OF SCIENCE AND TECHNOLOGY
BIOMEDICAL ENGINEERING DEP.
Then on the next screen
Supervised By
Dr. Cheryl B. Schrader
then on the next screen
DONE By
Leon M. Hall
Joseph D. Smith
The Micro controller in the normal case it receives once Low and once high in ordered or not ordered intervals on its PIN 2, and in each interval (in a minute for example) it shows the number of transition from low to high or vice versa. For example it shows on the screen:
RATE PER MIN = (30)
OK…
but when input becomes low for 10 or more seconds, a clock starts on the screen and it counts for two minutes. Once input comes high to the PIN 2 the program back to it's normal mode for example "RATE PER MIN = (30)". But if the 2 minutes completed the screen shows:
WARNING !!!
Oxygenated Blood Problem
and a buzzer connected on D7 for example is activated.
I have both PIC C compiler AND MPLAB
Thanks in advance
I started to learn how to program a PIC microcontroller but seems like I am not getting anywhere, I always have errors in my code even if I just copy and paste it from the web.
I just need to program a P16f874 so it can give me on the LCD
Missouri OF SCIENCE AND TECHNOLOGY
BIOMEDICAL ENGINEERING DEP.
Then on the next screen
Supervised By
Dr. Cheryl B. Schrader
then on the next screen
DONE By
Leon M. Hall
Joseph D. Smith
The Micro controller in the normal case it receives once Low and once high in ordered or not ordered intervals on its PIN 2, and in each interval (in a minute for example) it shows the number of transition from low to high or vice versa. For example it shows on the screen:
RATE PER MIN = (30)
OK…
but when input becomes low for 10 or more seconds, a clock starts on the screen and it counts for two minutes. Once input comes high to the PIN 2 the program back to it's normal mode for example "RATE PER MIN = (30)". But if the 2 minutes completed the screen shows:
WARNING !!!
Oxygenated Blood Problem
and a buzzer connected on D7 for example is activated.
I have both PIC C compiler AND MPLAB
Thanks in advance