Forum - MCS Electronics
View previous topic :: View next topic
Author
Message
mahdavifar Joined: 24 Jun 2010 Posts: 4 Location: Iran
Posted: Sun Oct 04, 2020 5:33 pm Post subject: 1wire on extended ports of atmega2560
Hi,
Can i use 1wire device like DS18B20 on extended ports of ATMEGA2560 e.g. PORTJ or PORTL?
Anybody has experience about this?
Regards
Back to top
albertsm Joined: 09 Apr 2004 Posts: 5905 Location: Holland
Posted: Thu Oct 08, 2020 8:17 pm Post subject:
it should work when they have pin,ddr and port registers and it seems m2560 has that. _________________ Mark
Back to top
mahdavifar Joined: 24 Jun 2010 Posts: 4 Location: Iran
Posted: Mon Oct 12, 2020 1:11 pm Post subject:
Hi,
Do we need any special library like what happened for PORTF of ATMega128?
Regards
Back to top
albertsm Joined: 09 Apr 2004 Posts: 5905 Location: Holland
Posted: Tue Oct 13, 2020 2:29 pm Post subject:
no otherwise it would be included/mentioned. _________________ Mark
Back to top
mahdavifar Joined: 24 Jun 2010 Posts: 4 Location: Iran
Posted: Tue Oct 13, 2020 4:16 pm Post subject:
Thanx
Back to top
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