Search found 39 matches

by jet_media
16 Apr 2015 00:14
Forum: mikroC PRO for AVR Wish List
Topic: strcpy() is very Low speed!!!
Replies: 3
Views: 3562

Re: strcpy() is very Low speed!!!

HI, suggestion! //S=S2 //this is Low speed===>strcpy(s,s2); //but is fastest... :D : r30= ((unsigned int)(&s2)); //zl From r31=((unsigned int)(&s2)) >> 8 ; //zh From r26=((unsigned int)(&s)); //xl To r27=((unsigned int)(&s)) >> 8; //xh To asm { L_loopCS2Ss2: LD R0, Z+ ST X+, R0 TST R0 BRNE L_loopCS2...
by jet_media
10 Apr 2015 01:21
Forum: mikroC PRO for AVR Wish List
Topic: strcpy() is very Low speed!!!
Replies: 3
Views: 3562

strcpy() is very Low speed!!!

in mikrobasic Avr : program MyProject main: dim s as char[5] data dim s2 as char[5] data s2="Hello" s=s2 ddra=0 end. in mikrobasic all code run in 96 Cpu Clock Cycle '------------- But in Mikroc Avr : void main() { char s[6]; char s2[6]="Hello"; strcpy(s,s2); ddra=0; } in mikroC All code run in 187 ...
by jet_media
26 Dec 2014 17:35
Forum: mikroBasic PRO for ARM Wish List
Topic: Can not work GPIO lib for STM32F030F4P6 in Mikrobasic v4.5
Replies: 4
Views: 4262

Re: Can not work GPIO lib for STM32F030F4P6 in Mikrobasic v4

hi,

Excuse me!
GPIO LIB works well!

my Programmer Was broken


Regards,
Jet_media
by jet_media
17 Dec 2014 19:12
Forum: mikroBasic PRO for ARM Wish List
Topic: Can not work GPIO lib for STM32F030F4P6 in Mikrobasic v4.5
Replies: 4
Views: 4262

Re: Can not work GPIO lib for STM32F030F4P6 in Mikrobasic v4

hi,


Yes!

code is compiling properly,
but don't work on your hardware

Microcontroller is STM32F030F4P6 (soic package 20pin)

Regards,
Jet_media
by jet_media
17 Dec 2014 02:00
Forum: mikroBasic PRO for ARM Wish List
Topic: Can not work GPIO lib for STM32F030F4P6 in Mikrobasic v4.5
Replies: 4
Views: 4262

Can not work GPIO lib for STM32F030F4P6 in Mikrobasic v4.5

Can not work GPIO lib for STM32F030F4P6 in Mikrobasic Arm : for ex:) program LedBlinking main: GPIO_Digital_Output(@GPIOa_BASE, _GPIO_PINMASK_ALL) ' Set PORTA as digital output GPIOA_ODR = 0 while TRUE GPIOa_ODr = not GPIOA_ODR ' Toggle PORTA Delay_ms(1000) wend end. '--------------- code is compili...
by jet_media
21 Aug 2014 19:07
Forum: mikroBasic PRO for ARM Wish List
Topic: Please add STM32F030F4P6 in Mikrobasic Arm
Replies: 1
Views: 2826

Please add STM32F030F4P6 in Mikrobasic Arm

STM32F030F4P6 is very good And very cheap! :D
by jet_media
16 Aug 2014 12:34
Forum: mikroBasic PRO for ARM Wish List
Topic: Please add 15 Adc Channel in stm32f103rb in 64pin package
Replies: 1
Views: 2643

Please add 15 Adc Channel in stm32f103rb in 64pin package

Please add 15 Adc Channel in stm32f103rb in 64pin package
by jet_media
06 May 2014 07:57
Forum: mikroBasic PRO for AVR Wish List
Topic: fix Important bug in mikrobasic avr
Replies: 5
Views: 3825

Re: fix Important bug in mikrobasic avr

petar.timotijevic wrote:Hi,

Please see screenshots in attachment.


Best regards,
Peter
Hi, Peter

Please see screenshots in attachment and test again.
by jet_media
05 May 2014 23:26
Forum: mikroBasic PRO for AVR Wish List
Topic: fix Important bug in mikrobasic avr
Replies: 5
Views: 3825

Re: fix Important bug in mikrobasic avr

Hi, You forgot to initialize and configure the port. Try this code, code works ok: program MyProject ' Declarations section main: ' Main program DDRC = 0xFF ' configure PORTC as output PORTC = 0xAA ' initial PORTC value you can delete this if you want if 150 < 300 then portc = 0xFF else portc = 0x1...
by jet_media
05 May 2014 20:15
Forum: mikroBasic PRO for AVR Wish List
Topic: fix Important bug in mikrobasic avr
Replies: 5
Views: 3825

fix Important bug in mikrobasic avr

set Tools>Options>Output>Output Setting>optimization-->Zero

and test code ! :

program MyProject

main:

if 150 > 300 then
portc=255
else

end if
end.
'------------

Run "Portc=255" !!!!!!!
by jet_media
03 May 2014 16:27
Forum: mikroBasic PRO for AVR Wish List
Topic: Add Ability to set a variable value in Declare...
Replies: 3
Views: 2992

Re: Add Ability to set a variable value in Declare...

Hi, For now this is available only in MikroC Pro compiler. Best regards, Peter Hi, Peter Thank you ! :D This is "Microbasic Pro for AVR Wish List" Topic I wish "Add Ability to set a variable value in Declare... in Mikrobasic" This is only , just a suggestion. :idea: I love working with Mikrobasic "...
by jet_media
02 May 2014 11:31
Forum: mikroBasic PRO for AVR Wish List
Topic: Add Ability to set a variable value in Declare...
Replies: 3
Views: 2992

Add Ability to set a variable value in Declare...

for ex:

dim b as byte= 10

or

dim ss as float = -1.5


I hope this feature will be added to Microbasic
by jet_media
02 May 2014 11:28
Forum: mikroBasic PRO for AVR Wish List
Topic: fix FloatToStr procedure
Replies: 1
Views: 2562

fix FloatToStr procedure

ex)

dim c as Float
dim c3 as char[30]


c= 19999.1
FloatToStr(c,c3) 'c3 ==> 19999.09960 is fail !
by jet_media
23 Apr 2014 15:33
Forum: mikroBasic PRO for AVR Wish List
Topic: Ability to set a variable value in Declare...
Replies: 4
Views: 3254

Re: Ability to set a variable value in Declare...

I hope this feature will be added to Microbasic
by jet_media
22 Apr 2014 22:46
Forum: mikroBasic PRO for AVR Wish List
Topic: Ability to set a variable value in Declare...
Replies: 4
Views: 3254

Re: Ability to set a variable value in Declare

Ability to set a variable value in Declare time


for ex:

dim b as byte= 10

or

dim ss as float = -1.5

Go to advanced search