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

MikroElektronika - mikroBasic PRO for AVR - BASIC compiler for AVR microcontroller device development

mikroBasic PRO for AVR

March 09.

2012:

Introducing New Version 5.60

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.

Welcome screen added

Interrupt Assistant Tool included

Write interrupts with ease

We’ve created a special tool to help you create interrupt routines. You will have a working interrupt in no time.

Interrupt Assistant Tool included

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

Even faster compilation

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!
My First Project
My First Project

your first steps in mikroBasic PRO for AVR

My First Project

Most compilers demonstrate you how to build LED Blinking as your first project. We have decided to show you something else. Let’s implement together a simple UART communication in a little over 15 lines of code.

What is UART?

UART is short for Universal Asyncrhronous Receiver Transmitter. It is a widely used popular time-based communication serial protocol. It’s been around since 1971 and and is supported in almost all AVR microcontrollers. Until recently, every PC was equipped with at least one UART controller. DB9 connectors and RS232 cables were and still are present in many devices. In the last couple of years, RS-232 cables and connectors are succeeded with USB-UART technology, where communication is done via USB cable and a dedicated virtual COM port.

make your UART device in 2 minutes

UART Library Example

program UART
dim uart_rd as byte

main:
  UART1_Init(9600)                         ' Initialize UART module at 9600 bps
  Delay_ms(100)                            ' Wait for UART module to stabilize
  UART1_Write_Text("Ready")
  UART1_Write(13)                          ' Line Feed
  UART1_Write(10)                          ' Carriage Return
  
  while TRUE                               ' Endless loop
    if (UART1_Data_Ready() <> 0) then      ' If data is received,
      uart_rd = UART1_Read()               ' Read the received data,
      UART1_Write(uart_rd)                 ' And send data via UART
    end if
  wend
end.

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

The following AVR Basic compiler code sample is a simple loop that demonstrates the operation of UART library. After baudrate initialization, it constantly checks for new incomming data. As soon as the byte arrives, it is transmitted back with the same content.

Examine these lines to see how the UART library encapsulates everything in a simple and easy-to-understand functions.

2Checkout.com is an authorized reseller of goods and services provided by mikroElektronika." alt="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 AVR compiler with Key File Licence

$199.00 USD

Buy Now!

mikroBasic PRO for AVR compiler with USB Dongle Licence

$199.00 USD

Buy Now!

mikroBasic PRO for AVR compiler with Key File Licence - with discount

$149.00 USD

Buy Now!

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

$149.00 USD

Buy Now!