Search found 245 matches

by sonnyk
15 Sep 2010 11:00
Forum: mikroC PRO for PIC Beta Testing
Topic: V3.8 on Windows 7 64bit crashes every time I exit
Replies: 7
Views: 4534

Re: V3.8 on Windows 7 64bit crashes every time I exit

Hi.

I have solved similar issues on several installations by adjusting the "access rights" so that I have "full" rights to the program folder.
Access Rights
Access Rights
me.JPG (89.01 KiB) Viewed 4354 times
by sonnyk
19 Jun 2010 17:07
Forum: mikroC PRO for PIC General
Topic: In Line Assembler code
Replies: 4
Views: 1847

Re: In Line Assembler code

Declare the variable in C code and look for the variablenames in the .asm and/or .lst files generated after compile :wink:
Like this:

C-prog

Code: Select all

unsigned char F_WASMOVING;
...
F_WASMOVING = 1;
...
.asm file

Code: Select all

        MOVLW       1
        MOVWF       _F_WASMOVING+0 
by sonnyk
09 Jun 2010 23:05
Forum: Development Boards
Topic: UNI-DS ARM driver problem
Replies: 1
Views: 1885

Re: UNI-DS ARM driver problem

No suggestions...anyone ?
by sonnyk
05 Jun 2010 19:21
Forum: mikroC PRO for PIC General
Topic: Two 1byte words into one 2byte word
Replies: 9
Views: 2807

Re: Two 1byte words into one 2byte word

You probably need to "cast" also, like /

Code: Select all

 
Servo_position = ((unsigned int)( ADRESH * 256) + ADRESL);  //2 bytes = 1 16Bit unsigned integer 
by sonnyk
03 Jun 2010 19:48
Forum: Development Boards
Topic: UNI-DS ARM driver problem
Replies: 1
Views: 1885

UNI-DS ARM driver problem

Running Windows7 x64 ( without UAC and logged in with admin rights). I can't get UNI-DS ARMFlash drivers to work correctly...the installation itself goes well, but Windows does not recognize the programmer. I have tried several times and restarted the computer, but no success. The device manager onl...
by sonnyk
29 May 2010 17:57
Forum: mikroC PRO for PIC General
Topic: Operator "->"
Replies: 3
Views: 1525

Re: Operator "->"

Be aware of that when you refer to for example "time.sec" using a pointer, you have to use "time->sec" syntax!
by sonnyk
25 May 2010 01:41
Forum: mikroC PRO for PIC General
Topic: long period pulse generation
Replies: 8
Views: 2978

Re: long period pulse generation

Hi

If the ds1307 has an programmable "alarm" feature you can use that to create what you want.
Normally the RTC uses a pin to signal "alarm" and you just have to read that pin with the PIC :wink:
by sonnyk
25 May 2010 01:35
Forum: mikroC PRO for PIC General
Topic: Pro 3.8 question
Replies: 8
Views: 2550

Re: Pro 3.8 question

Found the cause of the problem, in the .mcppi file :wink: To recreate the problem I had, just copy a project folder with drag'n drop....lets assume that this new folder s name is "V1.1 - Copy (2)" Then open the copy in the mC-IDE ...it all seems fine, all the pathnames looks correctly "mapped" to th...
by sonnyk
24 May 2010 08:03
Forum: mikroC PRO for PIC General
Topic: Comparing a Variable with a pointer
Replies: 3
Views: 1600

Re: Comparing a Variable with a pointer

In my opinion that's a correct intrepretation :wink:
by sonnyk
23 May 2010 23:08
Forum: mikroC PRO for PIC General
Topic: how to transfer value from C to assembler
Replies: 7
Views: 2278

Re: how to transfer value from C to assembler

Hi.

Could be a missed name, try BAUDCONx register, maybe that works.
When you want to use var.names in asm, check the .asm or .lst file, that's a good place to look if you want to understand what's going on :wink:
by sonnyk
23 May 2010 18:29
Forum: mikroC PRO for PIC General
Topic: Pro 3.8 question
Replies: 8
Views: 2550

Re: Pro 3.8 question

Something fishy is going on :roll:

I have Win7 and UAC is ofcourse turned off :wink:
But I have all three versions installed ( in different dir's ) and still they behave like I wrote, V3.2 saves all files when compiling but 3.5 and 3.8 does not.... :?
by sonnyk
22 May 2010 10:14
Forum: mikroC PRO for PIC General
Topic: Pro 3.8 question
Replies: 8
Views: 2550

Re: Pro 3.8 question

Hi! Pressing the CTRL+ F9 does the saving before compiling (also in v3.8 ). We didn't change anything. Regards Slavisa Hi :) -Yes, something HAS changed, I have currently installed 3.2 , 3.5 and 3.8 and in 3.2 when you press the "compile" button, ALL files inte project are first saved, but this is ...
by sonnyk
21 May 2010 11:37
Forum: mikroC PRO for PIC General
Topic: Pro 3.8 question
Replies: 8
Views: 2550

Re: Pro 3.8 question

Hi Alain :)

Yes, sure, but i'ts very nice to have the "automagic" save functionality when you hit the compile button :wink:
At least for me, "alzheimer lite" you now :mrgreen:
by sonnyk
20 May 2010 12:18
Forum: mikroC PRO for PIC General
Topic: Pro 3.8 question
Replies: 8
Views: 2550

Pro 3.8 question

I have noticed that the "save before compile" has been removed, I really wan't this back :roll:
by sonnyk
18 May 2010 23:19
Forum: mikroC PRO for PIC General
Topic: need help in delay statement
Replies: 5
Views: 4551

Re: need help in delay statement

You can create something like this ( not tested, but you get the idea ) , you just need to tweak the "995" value to adjust the delay : void Delay ( unsigned int mS ) { unsigned int ui_uS; unsigned int ui_mS; // for ( ui_mS; ui_mS <= mS; ui_mS++ ) { for ( ui_uS; ui_uS <= 995; ui_uS++ ) { delay_us(1);...

Go to advanced search