Search found 43 matches

by sly
19 Jul 2013 23:12
Forum: mikroC PRO for PIC General
Topic: Array empty when debugging
Replies: 2
Views: 1101

Re: Array empty when debugging

Hi,

Why don't you try this first :

Code: Select all

char disp[]={ 0x50,0x51,0x52,0x53 } ;

char masks[]={ 0b11100000,0b11010000,0b10110000,0b01110000 } ;
see if it works !
by sly
14 Jun 2013 02:38
Forum: Timer Calculator
Topic: Timer Calculator Application Released!
Replies: 82
Views: 984643

Re: Timer Calculator Application Released!

a fix for pic microcontrollers :

2.MCU clock frequency -> just put Timer clock frequency (MCU clock frequency/4)
by sly
19 May 2013 11:54
Forum: mikroC PRO for PIC General
Topic: simulator bug mikroc for pic v.6.0.0 ?
Replies: 13
Views: 3071

Re: simulator bug mikroc for pic v.6.0.0 ?

Hi Mince,

The reason I'm doing it that way is because all the variable are shown as dec by default ...
The best way to do it for now (workaround) would probably be :

http://www.youtube.com/watch?v=dz2iFZ-g ... e=youtu.be
by sly
18 May 2013 17:28
Forum: mikroC PRO for PIC General
Topic: simulator bug mikroc for pic v.6.0.0 ?
Replies: 13
Views: 3071

Re: simulator bug mikroc for pic v.6.0.0 ?

Hi Mince,

I didn't do it like that ... just click on the [...] button then select some bit and then press [1] or [0] button and you'll see it ... the selected bit disapper and the whole byte gets shifted to the right ...
by sly
18 May 2013 02:32
Forum: mikroC PRO for PIC General
Topic: simulator bug mikroc for pic v.6.0.0 ?
Replies: 13
Views: 3071

simulator bug mikroc for pic v.6.0.0 ?

Hello, This is very strange to me: LATA = 255 initially but I want to change it to 254 : debug layout watch values name value address LATA 0b1111 1111 0x0f89 edit value: LATA 1111 111[0] and I'm getting 01111111 !!! So instead of (0b1111 1110) it got shifted one place to the right >>1 ??? It happens...
by sly
19 Jul 2012 01:41
Forum: mikroC PRO for PIC General
Topic: sensirion sht11
Replies: 2
Views: 1612

sensirion sht11

Hi everybody, Has anyone else had wrong temperature readings from SHT1X PROTO Board with the included MikroC example on EasyPic6 board : http://www.mikroe.com/eng/downloads/get/1549/sht1x_proto_manual_v100.pdf http://www.mikroe.com/eng/downloads/get/436/sht1x_examples.zip I would have expected the w...
by sly
07 May 2012 15:18
Forum: Development Boards Wishlist
Topic: EasyAVR v7
Replies: 3
Views: 2782

Re: EasyAVR v7

That's great !

Could you elaborate on that please ...
by sly
07 May 2012 01:39
Forum: Development Boards Wishlist
Topic: EasyAVR v7
Replies: 3
Views: 2782

EasyAVR v7

Hello ME,

Are there any plans for a future EasyAVR v7 dev. board ?

Thank you !!!
by sly
16 Jul 2011 03:58
Forum: mikroC PRO for PIC General
Topic: apparent conflict of speed
Replies: 3
Views: 1364

Re: apparent conflict of speed

Hi ,

Let's take 16F627 + 3 digit 7 segment led CC + DS18B20 .
So how would you go about it ?

Thank you
by sly
16 Jul 2011 00:15
Forum: mikroC PRO for PIC General
Topic: apparent conflict of speed
Replies: 3
Views: 1364

apparent conflict of speed

Hi guys, I need some advice on how to solve the problem of interfacing a slow (I2C/One Wire) device and a fast one like a (dot matrix/7 segment) led display who needs a constant refresh >= 100 Hz ... The classic way is to have the refresh routine done by an interrupt and the reading/writing function...
by sly
24 Dec 2010 04:19
Forum: mikroC PRO for PIC General
Topic: "Voltmeter 0-50v, is comprised of a LCD and 1 pic 16f877A
Replies: 1
Views: 2783

Re: "Voltmeter 0-50v, is comprised of a LCD and 1 pic 16f877

Hi, Replace this part of the code : #define calcV d1=adc_value/1000; d2=(adc_value%1000)/100; \ d3=((adc_Value%1000)%100)/10; d4=((adc_value%1000)%100)%10; with : #define calcV d1=adc_value/1000; d2=(adc_value/100)%10; \ d3=(adc_value/10)%10; d4=adc_value%10;
by sly
10 Oct 2010 15:31
Forum: mikroC PRO for PIC General
Topic: Create a user adjustable variable to control a delay?
Replies: 2
Views: 1349

Re: Create a user adjustable variable to control a delay?

Hi,

There is a function that you could use called Vdelay_ms();
Creates a software delay in duration of time_in_ms milliseconds (a variable).
Generated delay is not as precise as the delay created by Delay_ms.

Code: Select all

pause = 1000;
// ...
Vdelay_ms(pause);  // ~ one second pause
by sly
12 Sep 2010 22:52
Forum: mikroC PRO for PIC General
Topic: can I see a byte?
Replies: 8
Views: 2459

Re: can I see a byte?

There you go : /* * Project name: Lcd_Test (Simple demonstration of the LCD Library functions) * Copyright: (c) Mikroelektronika, 2005. * Description: This is a simple demonstration of LCD library functions. LCD is first initialized (PORTD, 4-bit data interface, default pin settings), then some text...
by sly
08 Sep 2010 22:58
Forum: mikroC PRO for PIC General
Topic: SPI Protocol using 74HC595AN shift register
Replies: 6
Views: 4038

Re: SPI Protocol using 74HC595AN shift register

@ p.erasmus

Have you ever helped someone ?
you sound like a broken record to me ...
by sly
03 Jul 2010 17:54
Forum: mikroC PRO for PIC General
Topic: CCP : capture example
Replies: 6
Views: 7216

Re: CCP : capture example

Hi, It's not " CCP in capture mod " but take a look here: http://www.romanblack.com/easypic6_proj1.htm Frequency/RPM meter by Roman Black ... Frequency meter (range from 0 to 65000 Hz) RPM meter "Tacho" (from 0 to 3900000 RPM) and the whole project here : http://www.romanblack.com/easypic6/EP6_FREQ....

Go to advanced search