Posted: Mon Sep 06, 2004 2:52 pm Post subject: Atmega128 PortF problem or question
What do I ned to do to enable or set the Portf.4 5 6 and 7 I/O pins to toggle high and low?
I wrote up the below program and although pins 0 thru 3 toggle high and low, the 4 thru 7 pins don't. I am wondering what I did or didn't do.
I am using Bascom ver 1.11.7.4 at this time.
Thanks
'Bascom program:
$regfile = "m128def.dat"
$crystal = 14745600
Posted: Mon Sep 06, 2004 6:38 pm Post subject: I found the answer
Oops my mistake, I had forgotten that I needed to turn off the fuse setting for enabling the Jtag programming mode. Once I did disable the fuse setting, then the other four PortF I/O pins started working OK.
Thanks
Earl
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum