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

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

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

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

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.
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.
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.
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.
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:
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.