Making It Simple
MIKROE-726, 932-MIKROE-726
Price
Heading

mikroElektronika - mikroBasic PRO for PIC - BASIC compiler for Microchip PIC microcontroller development

mikroC PRO for PIC

May 8.

2012:

Introducing New Version 5.61

All you need at first glance

Welcome screen added

New start screen deliveres just the right information. Examples, news and useful links are here to get you started quickly.

All you need at first glance

Interrupt context saving control

More control then ever!

With ICS (interrupt context saving) control added, you have the power of fine-tuning your time-critical applications.

More control then ever!

Compilation time shortened

Even faster compilation

We’ve managed to speed up compilation even further. Your code is now compiled 40% faster than in compiler version 5.30.

Even faster compilation

All the little things that count

IDE improvements

Better handling of Bookmarks, Dongle detection, Project Wizard, Code selection in Editor window, and many other improvements.

IDE improvements
My First Project
My First Project

your first steps in mikroBasic PRO for PIC

My First Project

Most compilers demonstrate you how to build LED Blinking as your first project. We have decided to show you something trully remarkable. Let’s build toghether a fully operational USB Human Interface Device in a little over 20 lines of code.

What is USB HID?

HID is a USB device class that describes human interface devices such as keyboards, mice, game controllers and alphanumeric display devices. The USB HID class describes devices used with nearly every modern computer. Great set of existing predefined functions allow hardware manufacturers to design a product to USB HID class specifications and expect it to work with any software that also meets these specifications. In other words, no drivers are needed for USB device to work on any computer and on any operating system.

make your USB device in 2 minutes

HID Library Example

program HID_Read_Write_Polling

dim cnt,kk as byte
dim readbuff as byte[64] absolute 0x500     ' Buffers should be in USB RAM
dim writebuff as byte[64] absolute 0x540

main:
  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 63
        writebuff[cnt]=readbuff[cnt]
      next cnt
      HID_Write(@writebuff,64)
    end if
  wend
end.

Let us show you how easily mikroBasic PRO for PIC handles with rather complex programs using the power of integrated libaries.

The following PIC BASIC compiler code sample is a simple loop that demonstrates the operation of 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. mikroBasic PRO for PIC spares you the research of how USB communication works, and encapsulates everything in a simple and easy-to-understand functions.

2Checkout.com is an authorized reseller of goods and services provided by mikroElektronika.

All credit card and personal details are kept secure, and our customer list is not disclosed to any third party. Most shipments are sent within 48 hours of your order. 2Checkout.com is an authorized reseller of goods and services provided by mikroElektronika.

Who applies for discount?

If you have purchased any related development system from us directly you are entitled to a discount price of the compiler. This doesn't apply to purchases made through our distributors.

We deliver our products to all countries in the world using following shipping options:

Shipping Information

DHL Express: $25.00 USD for up to 5 Kgs, usually arrives in 2-4 business days.*

Post Office: $25.00 USD, no weight limit, usually arrives in 7-12 business days.

* - Please contact your local DHL office about delivery service and possible additional charges.

mikroBasic PRO for PIC compiler with Key File Licence

$199.00 USD

Buy Now!

mikroBasic PRO for PIC compiler with USB Dongle Licence

$199.00 USD

Buy Now!

mikroBASIC PRO for PIC compiler with Key File Licence - with discount

$149.00 USD

Buy Now!

mikroBasic PRO for PIC compiler with USB Dongle Licence - with discount

$149.00 USD

Buy Now!