BasicMicro - Forums

www.basicmicro.com
It is currently Mon May 21, 2012 12:00 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Atom software reset?
PostPosted: Mon Nov 29, 2010 6:37 pm 
Offline
Master
User avatar

Joined: Tue Jul 07, 2009 9:06 am
Posts: 120
Location: Wisconsin USA
Thanks, One thing i wasn't getting was, going low on an IO pin grounds it.
The manuals just say going low is 0v, and high is 5v.
So i figured setting a pin low would simply drop any outward voltage. I didn't know it caused a grounding.

Connecting an IO pin such as P4 to the RES pin and using the Command LOW P4 did the trick.

What is the command in basic, to return the pin back to default? Do i just set it as an input? "INPUT P4"?
I'm going to use the bluetooth uart adapters IO pins for bluetooth controlled bots, and a cheap <$2 pic on IR controlled projects.

_________________
Image
Basic Micro Blog
Universal Robot Controller


Top
 Profile  
 
 Post subject: Re: Atom software reset?
PostPosted: Wed Dec 01, 2010 4:31 am 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 798
Location: CA bay Area
Once you do the reset, all the pins are automatically made an input.

_________________
kenjj
http://blog.basicmicro.com/
http://kjennejohn.wordpress.com/


Top
 Profile  
 
 Post subject: Re: Atom software reset?
PostPosted: Wed Dec 01, 2010 6:15 am 
Offline
Master
User avatar

Joined: Tue Jul 07, 2009 9:06 am
Posts: 120
Location: Wisconsin USA
Unless of course i'm using a secondary MCU to force a reset on a locked/looped primary MCU.

So i'll take that as a yes, setting it back to an input should do the trick.
^_^

_________________
Image
Basic Micro Blog
Universal Robot Controller


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO