Search found 104 matches

by Cyberzim
03 Dec 2009 02:53
Forum: mikroC PRO for PIC General
Topic: MMC communication - Is this correct?
Replies: 18
Views: 6384

MMC communication - Is this correct?

Hello, I want to try to communicate with MMC-cards, so I have made a pcb for a MMC connector. http://imageshack.dk//viewimage.php?file=/imagesfree/E1d05010.png Is this correct? And I have also to start with, made a simple code that will turn a led on when the MMC is detected, but It doesn't seem to ...
by Cyberzim
05 Nov 2009 17:08
Forum: mikroC General
Topic: Intelligent charger - circuit doesn't work
Replies: 8
Views: 2886

Fantastic, thank you!
by Cyberzim
04 Nov 2009 19:06
Forum: mikroC General
Topic: Intelligent charger - circuit doesn't work
Replies: 8
Views: 2886

Thanks a lot!
And yes, I guess it's because the battery is fully charged.
by Cyberzim
03 Nov 2009 23:16
Forum: mikroC General
Topic: Intelligent charger - circuit doesn't work
Replies: 8
Views: 2886

Just one more little question.
What is the function of the diodes on the currentlimiter?
I can't see a difference in the current with and without them.

Thanks,
by Cyberzim
03 Nov 2009 23:11
Forum: mikroC General
Topic: Intelligent charger - circuit doesn't work
Replies: 8
Views: 2886

I will try that, and yes, forgot to correct the diode.

Thank you :)
by Cyberzim
03 Nov 2009 21:51
Forum: mikroC General
Topic: Intelligent charger - circuit doesn't work
Replies: 8
Views: 2886

Intelligent charger - circuit doesn't work

Hello, I don't really know where to post this topic, but since I write in C I will post it here. I have created a circuit for a intelligent charger that are controlled by a microcontroller. The microcontroller reads the voltage by a voltage divider, and then when voltage reached max, shut chargher d...
by Cyberzim
25 Oct 2009 20:43
Forum: mikroC General
Topic: PIC12HV615 - ADC
Replies: 3
Views: 1529

I use mikroC v8.2, and it's not the ";" that are missing.
All registers for adc is set correct, so I think it's the compiler that are something wrong with.
by Cyberzim
25 Oct 2009 16:49
Forum: mikroC General
Topic: PIC12HV615 - ADC
Replies: 3
Views: 1529

PIC12HV615 - ADC

Hello,
I have read the datasheets on PIC12HV615 and it support adc, but why is the compiler not allowing me to use adc_read() function?
I set the registers for GP0 to be input and then use:
read = adc_read(0);
but I only get "Undeclared identifier[adc_read] in expression"

Thank you,

Simon H.A.
by Cyberzim
15 Oct 2009 12:50
Forum: mikroC General
Topic: Can't pull pin down.
Replies: 3
Views: 1646

LOL, omg I'm the biggest fool.
Haven't seen that, I must have been sleeping,
thanks :D
by Cyberzim
14 Oct 2009 22:39
Forum: mikroC General
Topic: Can't pull pin down.
Replies: 3
Views: 1646

Can't pull pin down.

Hello, I'm trying to do some communications with a mouse via PS/2 protocol, but I have discovered a problem. The CLK pin (RC1) cannot be pulled low on my easypic 5 board, but the data pin with pullup resistor can be pulled low? Here is my simple code for pulling them low and high, the data part work...
by Cyberzim
13 Oct 2009 16:36
Forum: mikroC General
Topic: PS/2 Mouse protocol - help needed!
Replies: 1
Views: 1192

Woops, sorry posted in wrong section.
by Cyberzim
13 Oct 2009 16:35
Forum: mikroBasic General
Topic: PS/2 Mouse protocol - help needed!
Replies: 0
Views: 1801

PS/2 Mouse protocol - help needed!

Hello, I had for a ½ year ago succes with the ps/2 mouse protocol, but now I want to use it again, and since I got an new computer I don't have my old code that worked, so I just for test downloaded the project from www.mikroe.com/en with ps/2 mouse. It was made for PIC16F887A, but I use PIC16F884, ...
by Cyberzim
13 Oct 2009 14:41
Forum: mikroC General
Topic: PS/2 Mouse protocol - help needed!
Replies: 1
Views: 1192

PS/2 Mouse protocol - help needed!

Hello, I had for a ½ year ago succes with the ps/2 mouse protocol, but now I want to use it again, and since I got an new computer I don't have my old code that worked, so I just for test downloaded the project from www.mikroe.com/en with ps/2 mouse. It was made for PIC16F887A, but I use PIC16F884, ...
by Cyberzim
18 Jul 2009 20:22
Forum: mikroC General
Topic: FOR statement
Replies: 3
Views: 1556

Ah, didn't think of that one, but it should do it.

Thanks,

Simon H.A.
by Cyberzim
17 Jul 2009 14:00
Forum: mikroC General
Topic: Use 4 ADC channel in same time
Replies: 1
Views: 1129

Hi, If you want to use 4 adc channel, then you first go have a look in your datasheets and find your adc register so you know how to activate all 4 channels as analog input. Then you just simply make a program where you switch between each adc. Something like this: unsigned int data[4]; void main() ...

Go to advanced search