Search found 56 matches

by MHI
26 Jul 2010 20:46
Forum: Website & Forums General Discussion
Topic: How can i add my project to User Projects page
Replies: 4
Views: 2231

Re: How can i add my project to User Projects page

tihomir.losic wrote:Hello,

for now, unique way for uploading your custom projects,
is to contact our webmaster in order to send him project for uploading.
....
Losic Tihomir
Thanks Losic for your reply,
How can i contact your webmaster ? is it via office@mikroe.com

Regards
by MHI
25 Jul 2010 14:27
Forum: Website & Forums General Discussion
Topic: How can i add my project to User Projects page
Replies: 4
Views: 2231

How can i add my project to User Projects page

hello everyone

I have made an interesting project, and I would like to share it in the user project page: http://www.mikroe.com/eng/projects/index/, with my own name.
How can i do that ?

Best Regards
by MHI
25 Jul 2010 14:12
Forum: Development Boards
Topic: May I use MPLAB ICD2 in MikroC
Replies: 2
Views: 2130

Re: May I use MPLAB ICD2 in MikroC

yes you can.
write your project and compile it using MikroC, then use MPLAB IC2 to upload it.
Regards
by MHI
13 May 2010 12:24
Forum: mikroC PRO for PIC General
Topic: floating numbers
Replies: 1
Views: 1028

floating numbers

hello all, I have a question, concerning floating types, I need an important precision with floated numbers, I have realized that when the number is less than 1, (ex:4.316082e-1) , the precision is excellent, but when adding to it numbers bigger than 1, the precision is gone, and the final value is ...
by MHI
06 May 2010 09:02
Forum: mikroC PRO for PIC General
Topic: mmc card and 18f4550
Replies: 4
Views: 1692

Re: mmc card and 18f4550

hello zodane, You must connect the input of sdcard to the output of the microcontroller, and vice verca, and to be more sure, this picture is from MikroC help: 18f452_mmc1.jpg as you can see this is the pic18452, but it is the same concept: the MMC_DI is connected to RC5 and the MMC_DO is connected ...
by MHI
05 May 2010 23:03
Forum: mikroC PRO for PIC General
Topic: mmc card and 18f4550
Replies: 4
Views: 1692

Re: mmc card and 18f4550

hello zodane CS--------RC2-------------------!! i cant find it (rb5 or rb3 or ?) I think that CS must also be connected to RC2 in the 18F4550. so the function of mmc initialization will be: Mmc_Fat_Init(&PORTC, 2) And concerning other connections, i think there is another fault, you should replace: ...
by MHI
04 May 2010 20:46
Forum: Development Boards
Topic: "Programming failed" message using dsPICPRO4
Replies: 24
Views: 9987

Re: "Programming failed" message using dsPICPRO4

Where do I find v4.0 of dsPicFlash? I can only find the latest version (4.02) on the MikroE website.
Download the old mikroC for pic, and at the end of the installation, you will be prompted to install the dspicflash 4.00.

Regards
by MHI
04 May 2010 01:09
Forum: Development Boards
Topic: "Programming failed" message using dsPICPRO4
Replies: 24
Views: 9987

Re: "Programming failed" message using dsPICPRO4

hello simonbrown, I had the same problem that you have talk about, this problem occurs with me with the new version of dspicflash, I have switch to the old version (v4.0), and I didn't face any error since programing with it, I don't know what is the problem !! Hopefully anyone can point for us the ...
by MHI
03 May 2010 00:36
Forum: mikroBasic PRO for PIC General
Topic: spi_init
Replies: 2
Views: 2160

Re: spi_init

Hello zodane, for another time, please use the code tags to write your code in between them: First of all, I don't know if you understand the language that you have written previously, it's not basic, it's C, So hopefully you are compiling on MikroC Pro For Pic, and not basic (because either you are...
by MHI
03 May 2010 00:17
Forum: mikroC PRO for PIC General
Topic: 16F84A LED and buttons
Replies: 5
Views: 3543

Re: 16F84A LED and buttons

Hi Zerototale, this is an easy program, you can play with inputs and outputs the way you want: void main() { trisb=0; // port b output trisa=0x0f;// RA0-RA3 inputs PORTB=0; PORTA=0; while(1) { if (porta==0x01) // test if porta=0x01 { portb=0x01; delay_ms(100); portb=0x02; delay_ms(100); ....// and s...
by MHI
02 May 2010 19:46
Forum: mikroC PRO for PIC General
Topic: Read more than 2 bytes via UART without using interrupts?
Replies: 6
Views: 4225

Re: Read more than 2 bytes via UART without using interrupts

Arjv, I have attached a simulation project that describes your issue configure COM1 in the COMPIM device (Proteus file) and in the usart terminal of mikroC, connect to COM2, and try it. N.B: Com1 and com2 are 2 virtual ports created via virtual serial ports program, if you are trying this example in...
by MHI
02 May 2010 19:38
Forum: mikroC PRO for PIC General
Topic: Read more than 2 bytes via UART without using interrupts?
Replies: 6
Views: 4225

Re: Read more than 2 bytes via UART without using interrupts

if you try your code without the write portion (only the code written by me at my first post) it works or not ??
by MHI
02 May 2010 18:29
Forum: mikroC PRO for PIC General
Topic: Read more than 2 bytes via UART without using interrupts?
Replies: 6
Views: 4225

Re: Read more than 2 bytes via UART without using interrupts

hello Arjv

try this:

Code: Select all

void main()
{
char tab[6];
int i;
uart1_init(4800);
while(1)
{
if (uart1_data_ready())
tab[i++]=uart1_read();
if (i==6)
break;
}
}
Regards
by MHI
01 May 2010 18:55
Forum: mikroC General
Topic: PIC 16F84
Replies: 3
Views: 6144

Re: PIC 16F84

hazem you should do nothing for analog input or output, making trisa=0x0f; and trisb=0 is all you need for I/O configuration, Probably you have some wiring or oscillator problem, make sure to put the same oscillator that you have chosen in your mikroC program, connect the quartz with its capacitor b...
by MHI
01 May 2010 11:34
Forum: mikroC General
Topic: PIC 16F84
Replies: 3
Views: 6144

Re: PIC 16F84

hello hazem,
I have tested your project on Proteus, It's working well,
Where is your problem ?

Regards

Go to advanced search