Discussion in "Project Help" started by    Gatzrulz    Dec 22, 2015.
Tue Dec 22 2015, 09:47 pm
#1
Hi Frnds
im doing a small project. Im a newbie. Ive done a program to toggle a bit with time delay. When i select 89S52 controller it works fine. But when i select 89C2051 it is only working in debugging mode and not with the hardware. In debugging mode when i look at the pheripherals only the port bits are getting enabled and disabled with the time delay and not the pin bits... Im using keil 4...

Thanks in Advance
Mon Dec 28 2015, 07:05 am
#2
Please post your code.
Thu Dec 31 2015, 11:50 am
#3
add pull up to that pin
Fri Jan 01 2016, 12:05 pm
#4
Post your code for better help. Its hard to imagine the problem otherwise.
Thu Jan 21 2016, 09:51 am
#5
@ Gatzrulz
which controller pin you are using
there are two pins in AT89C2051 which need to attach a external pull up resistor
that pins are 11 and 12 pin of ic i think it is P1.0 and P1.1 which is also attached to
internal comparator of AT89C2051
post your code may be you are doing some mistake in the code

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

gtaletrzua
Fri May 03 2024, 10:55 am
Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am