Descrição do produto
mikroBasic PRO for dsPIC/PIC24
Discover new heights of personal efficiency with mikroBasic, a full-featured Basic compiler available for seven different microcontroller architectures.
- Over 500 function libraries a mouse click away
- Powerful IDE with user-friendly interface and additional software tools
- Part of a toolchain of compatible MikroElektronika development boards
- 1-time payment (no maintenance fee), frequent updates and support for new chip families
Each compiler comes with a comprehensive Help file and lots of ready-to-use examples designed to get you started quickly. Compiler license includes free upgrades and a product lifetime tech support. You can rely on our help while developing.
Hardware in-circuit debugging with mikroProg
mikroBasic has native support for mikroICD™ – hardware step-by-step In-Circuit Debugger when used with fast USB 2.0 mikroProg™ programmer (in both on-board and standalone version). mikroICD™ is a separate DLL module which supports Step-over [F8], Step-into[F7], Step-out[Ctrl+F8], Run[F6], Run To Cursor[F4] debugging operations. Also, debugger supports standard and advanced breakpoints, which enable you to achieve the full potential of fast debugging.
Design & code in one IDE
Visual TFT integrated
Starting from 2016, the mikroBasic IDE includes Visual TFT – a what-you-see-is-what-you-get graphical user interface design tool. The integrated solution allows for a streamlined workflow.
- Drag and drop graphic elements while the compiler generates the code automatically in the background.
- Modify the generated code in the compiler and create event functions.
- Seamlessly switch between designing and coding using keyboard shortcut F12.
To use your mikroBasic IDE with the GUI builder, you will need to acquire a Visual TFT license separately.
Seamlessly switch architectures
With mikroBasic every architecture is instantly familiar
With mikroBasic you can easily port your code from one architecture to another. This gives you an enormous advantage of being flexible to choose the architecture for your next project.
- Every mikroBasic features the same IDE and Integrated Tools.
- The majority of libraries feature the same function prototypes.
Over 500 functions. And still counting.
mikroBasic offers a unique mechanism to easily use libraries in your project: Click on the checkboxes of the libraries you need and they will be instantly available in your code. No need for dozens of #include directives.
You can also install and manage third-party libraries using our package manager and library manager.
Faster. Better. More Productive.
Saving programmer’s time is our top priority. This is why mikroBasic comes with a with fully-functional software tools that can boost your productivity.
- LCD Custom Character Tool
- GLCD Bitmap Editor
- Seven Segment Editor
- UART Terminal
- UDP Terminal
- HID Terminal
- ASCII Chart
- Active Comments Editor
- Advanced Statistics and much, much more.
In-depth knowledge base
Comprehensive help file. Free online books.
mikroBasic comes with a comprehensive and easy to use help file. Additional Language reference, and Creating The First Project manuals are a perfect place for your first steps in mikroBasic. Simply follow step-by step instructions.
Dozens delivered with the compiler, hundreds more on Libstock.
mikroBasic features dozens of examples demonstrating each library and certain internal microcontroller features. Together with free examples provided on Libstock, developers have ready-to-use building blocks for their next big project.
The place where you spend your workday.
Config words in plain English
mikroBasic is all about time-saving solutions. There is no need to set configuration bits each time you start a new project. The Edit Project menu gives you a full overview of the entire set of configuration bits in each chip. It’s done in a way that leaves no room for error. Select only among listed options, described in plain English. Edit project includes predefined schemes of oscillator settings for most widely used microcontrollers. Simply load your desired scheme and you are ready to go.
Your first project
Let’s build a USB device in 20 lines of code.
Most compilers demonstrate use LED Blinking as the first project. We have decided to start with something more remarkable: a fully operational USB Human Interface Device in a little over 20 lines of code.
dim cnt,kk as byte
dim readbuff as byte absolute 0x500 ' Buffers should be in USB RAM
dim writebuff as byte absolute 0x540
ADCON1 = ADCON1 or 0x0F ' Configure all ports with analog function as digital
CMCON = CMCON or 7 ' Disable comparators
HID_Enable(@readbuff,@writebuff) ' Enable HID communication
while TRUE ' USB servicing is done inside the while loop
USB_Polling_Proc() ' Call this routine periodically
kk = HID_Read()
if (kk <> 0) then
for cnt=0 to 63http://www.microgenios.com.br/wp-admin/post.php?post=12212&action=edit#
Let us show you how easily mikroBasic handles complex programs using the power of integrated libraries.
The following PIC Basic compiler code sample is a simple loop that demonstrates the operation of the USB HID library. It constantly checks for HID packets, and as soon as the HID message arrives, it is transmitted back with the same content.
Examine these lines to see how the HID library deals with a highly complicated task of HID USB communication. mikroC spares you the research of how USB communication works, and encapsulates everything in simple and easy-to-understand functions.