basic function would be nice to have in mikroBasic AVR

Post your requests and ideas on the future development of mikroBasic PRO for AVR.
Post Reply
Author
Message
uhrmacher
Posts: 14
Joined: 05 Jul 2012 11:18

basic function would be nice to have in mikroBasic AVR

#1 Post by uhrmacher » 24 Aug 2012 10:19

Hi mikroE AVR Team,

since a long time working with Bascom, i am studying now mikroBasic AVR and i am rewriting a bascom
project to mikro AVR code in the hope to have more performance on high speed data writing to CF-Card.

I am a little bit wondering what kind of different the both basic instruction set are and i am missing here some
very comfortable instructions. More or less it is possible with other instructions to do the same but these
instructions for example are so what of effective..

Examples:

MID
temp = mid (rawdata , 5 , 1 ) ' beginning at 5. char position on a string, get one char

INPUT
input #2 , rawdata ' get ASCII as long as stringvariable dimensioned from UART1

GET / PUT
get #2 , rdata ' get one byte from UART or in combination for-next get a bytearray
put #3 , wdata ' put one byte to CF-Card '' CF Card as channel #3 defined
put #3 , wdata(1) , , arraysize ' put a bytearray from 1 to arraysize to CF-Card

PRINT #1 , "..AVR alive.." ' simple print instruction to send charstrings via UART or to a CF Card media


best regards
Ingolf

Post Reply

Return to “mikroBasic PRO for AVR Wish List”