Documentation (c) 2006-2008 Hobby-Robotics, LLC


Chapter 16. HBBR Basic FAQs

Table of Contents

Q and A

Q and A

Runtime questions

1. Q: What is the web address of the HBBR Basic?
2. Q: Is it possible to mix direct register access and IO class calls?
1.

Q: What is the web address of the HBBR Basic?

HBBR Basic web adress is http://www.hbbrbasic.com/

2.

Q: Is it possible to mix direct register access and IO class calls?

Yes, it is possible to mix direct access to registers with IO class calls.

IO class is meant for convenience and cross device portability, speed is secondary consideration. It can be used to configure individual pin (if hardware allows that) at any time using IO.Configure(). IO pin set/clear is slower then direct register access because it incurs overhead of calling .Set or .Clr methods.

Example:

				
					Sub Main()
						Dim res As Boolean

						res=IO.Configure(P1_25_OUT)

						Do
						 IO1SET = &B00000010000000000000000000000000
						 IO1CLR = &B00000010000000000000000000000000
						Loop

					End Sub				 
				
				

To learn more about HBBR Basic follow this link: