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

Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm
Infewow
Sun Apr 21 2024, 06:30 pm
HumanTak
Sun Apr 21 2024, 12:26 pm
Zacharybus
Sun Apr 21 2024, 02:45 am