BasicMicro - Forums

www.basicmicro.com
It is currently Mon May 21, 2012 7:52 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: debugin command not working in Basic Micro Studio
PostPosted: Sun Jan 30, 2011 7:39 pm 
Offline
New User

Joined: Sun Jan 16, 2011 3:36 pm
Posts: 4
Hi,

Compiling on Basic Micro Studio Version 2.0.0.5 on my win vista pc, I write the short code below to display voltage on p0 in volts onto computer screen. But I get error on using debugin command (see screenshot below code). I test exact same code using friend's win xp pc running the older Legacy Atom IDE 2.2.1 and code pass through error-free and program run perfectly fine. Anybody know what cause the errors in the studio version and how to fix this problem?

BasicATOM Pro 28M is module used.

Thanks!


Code:
AD_in var word; need 16 bit variable
key var byte;

main
      adin p0, AD_in   ;ADC output stored into AD_in
      
      debug[real AD_in*5.0/1023,"V", 13]   ;conversion to volts calculation
      debugin[key]
      
goto main
end


Image


Top
 Profile  
 
 Post subject: Re: debugin command not working in Basic Micro Studio
PostPosted: Mon Jan 31, 2011 9:36 am 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 11:00 am
Posts: 903
Location: Temecula, CA
Go to the forums News section and click on the Studio 2.0.0.8 post. Download and install the new version.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
 Post subject: Re: debugin command not working in Basic Micro Studio
PostPosted: Mon Jan 31, 2011 11:34 am 
Offline
New User

Joined: Sun Jan 16, 2011 3:36 pm
Posts: 4
thank you :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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