Additional pre-made library functions

Post your requests and ideas on the future development of mikroBasic for AVR.
Post Reply
Author
Message
Gmccomb
Posts: 9
Joined: 22 Mar 2006 02:04

Additional pre-made library functions

#1 Post by Gmccomb » 22 Mar 2006 03:26

Library functions can greatly reduce the need for all of us to reinvent the wheel, and allow us to more quickly complete our tasks. Using the excellent BASCOM AVR as a general guide, consider providing the following library functions for mikroBASIC for AVR:

1. R/C servo control (VERY common in robotics and small-scale automation)
2. TCP/IP
3. RC5 remote control (see also Bascom's SONYSEND statement)
4. AT keyboard emulation (that is, the processor emulates an AT keyboard connected via a PS/2 line; this allows for creating PC add-ons that provide input via standard keyboard functions)
5. Pulseout, in usec (convenience feature for people coming from BASIC Stamps)
6. Quadrature encoder support (reads biphase signals and provides count up or down)
7. Direct OnPinChange support for those AVR MCUs that provide this feature
8. Additional rudimentary string functions common to all Basic compilers/interpreters, such as LTrim, RTrim, Mid, etc.; however, I'd prefer more up-to-date statement names, such as SubStr instead of Mid, and Trim, with a parameter that indicates options for trimming

More to come...

-- Gordon

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: Additional pre-made library functions

#2 Post by zristic » 22 Mar 2006 08:53

Most of these things are under construction. The others will be implemented too, in some way or another.

janezek
Posts: 5
Joined: 10 Apr 2006 23:05

#3 Post by janezek » 10 Apr 2006 23:18

Hello,

I was wondering if there can be set data bits of lcd to pin, like is in microC and for all avr. :wink:

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

#4 Post by zristic » 11 Apr 2006 10:01

janezek wrote:I was wondering if there can be set data bits of lcd to pin, like is in microC and for all avr. :wink:
For example?

janezek
Posts: 5
Joined: 10 Apr 2006 23:05

#5 Post by janezek » 11 Apr 2006 20:08

Hello

I can't use Lcd_init with attiny2313, so I would like to use Lcd_init with all AVR.

here is exsample in mikroBASIC

Code: Select all

Lcd_Init(PORTD, 0, 1, PORTB, LCD_HI_NIBBLE)
I don't know how to set data pin seperatly to port.X.

In mikroC for Pic code looks

Code: Select all

Lcd_Config(&PORTD,1,2,0,3,5,4,6);
If there is a chance I wish that lcd_init looks like in mikroC.

thank you :wink:

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

#6 Post by zristic » 12 Apr 2006 08:48

janezek wrote:In mikroC for Pic code looks

Code: Select all

Lcd_Config(&PORTD,1,2,0,3,5,4,6);
If there is a chance I wish that lcd_init looks like in mikroC.
We will add this feature in some of the next releases.

mbruck
Posts: 51
Joined: 19 Apr 2006 21:55

String library

#7 Post by mbruck » 01 Nov 2006 15:00

I asked for full string library several month ago... Nothing happend. Except promises.

MikroPascal for AVR is still very inferior to BascomAVR. I am eagerly waiting for day for this fact to change. Only then I will buy Pascal. As thing going with this speed, I beleve that wuold be MikroPascal for AVR ver. 11. :cry:

Post Reply

Return to “mikroBasic for AVR Wish List”