Native Mode - Visual Studio And Help To Start

Discussion of issues related specifically to writing code for native mode devices. This includes ZBasic code as well as assembly language code and C code, both inline and standalone.
Post Reply
geocool
Posts: 15
Joined: 04 May 2011, 9:38 AM

Native Mode - Visual Studio And Help To Start

Post by geocool »

Hello People.
I just bought a ZX-24s that I hope it feets in my Parallax Education Board of my Boe-Bot. I choose a native microcontroller because know C/C++ and I would like to learn some things on Assembly.
I found in download page a library for native mode. In libraries I usually find a Header file and a static lib file (with .lib extension). How can I use Zbasic Library and compiler with Visual Studio ?
Also I would like to know if is there any guide of how to start. A simple source code of how to Initialize and SET HIGH and LOW pins, send pulse to Servo etc.

Thanks in advance :)
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: Native Mode - Visual Studio And Help To Start

Post by dkinzer »

geocool wrote:I just bought a ZX-24s that I hope it feets in my Parallax Education Board of my Boe-Bot.
It should work perfectly in the BoeBot.
geocool wrote:How can I use Zbasic Library and compiler with Visual Studio ?
ZBasic was not designed to be used in conjunction with Visual Studio. You may be able to configure Visual Studio to launch the ZBasic compiler but I have no specific information about how to do that. If you know how to configure it to launch an external application you'll want to consult the section of the ZBasic Language Reference Manual that describes the compiler command line options.
geocool wrote:Also I would like to know if is there any guide of how to start. A simple source code of how to Initialize and SET HIGH and LOW pins, send pulse to Servo etc.
I've posted a short "getting started" guide that should be sufficient to get you going.
http://www.zbasic.net/forum/about1522.html

To proceed further, you're going to need to become familiar with some of the hundreds of subroutines and functions comprising the ZBasic System Library and determine how they might be useful for some particular objective you have. You can also take a look at some of the code posted in the Files section of this forum. Another resource is any BasicX or ZBasic code that you can find on the Internet. If you already know Parallax PBasic, you can use the PBasic Conversion Guide to get a feel for how familiar concepts are implemented in ZBasic.
- Don Kinzer
Post Reply