Search found 104 matches
- 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 ...
- 05 Nov 2009 17:08
- Forum: mikroC General
- Topic: Intelligent charger - circuit doesn't work
- Replies: 8
- Views: 2886
- 04 Nov 2009 19:06
- Forum: mikroC General
- Topic: Intelligent charger - circuit doesn't work
- Replies: 8
- Views: 2886
- 03 Nov 2009 23:16
- Forum: mikroC General
- Topic: Intelligent charger - circuit doesn't work
- Replies: 8
- Views: 2886
- 03 Nov 2009 23:11
- Forum: mikroC General
- Topic: Intelligent charger - circuit doesn't work
- Replies: 8
- Views: 2886
- 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...
- 25 Oct 2009 20:43
- Forum: mikroC General
- Topic: PIC12HV615 - ADC
- Replies: 3
- Views: 1529
- 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.
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.
- 15 Oct 2009 12:50
- Forum: mikroC General
- Topic: Can't pull pin down.
- Replies: 3
- Views: 1646
- 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...
- 13 Oct 2009 16:36
- Forum: mikroC General
- Topic: PS/2 Mouse protocol - help needed!
- Replies: 1
- Views: 1192
- 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, ...
- 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, ...
- 18 Jul 2009 20:22
- Forum: mikroC General
- Topic: FOR statement
- Replies: 3
- Views: 1556
- 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() ...