Search found 6 matches
- 14 Aug 2008 01:34
- Forum: mikroC General
- Topic: PIC 2 PIC Master/Slave Communication using I2C... Enjoy
- Replies: 41
- Views: 110032
Re: No Interrupt in I2C slave
Hello Tom I try to put your code in my program for a slave I2C pic. But i get never a interrupt. Do you know what could be the problem? Code if interrupt has occured: void interrupt(){ if (PIR1.SSPIF = 1){ I believe this should be changed to void interrupt(){ if (PIR1.SSPIF == 1){ Give it a try and...
- 08 Dec 2006 01:08
- Forum: mikroC General
- Topic: PIC 2 PIC Master/Slave Communication using I2C... Enjoy
- Replies: 41
- Views: 110032
thanx. but i send data from master do not read on slave portB. master PortC.F3 to Slave PortC.F4 & M PortC.F4 To S PortC.F3 is right shematic. I'm not sure if you are asking a question here or trying to state something but I'll try to explain a little bit more. You send serial data from the Master ...
- 06 Dec 2006 05:04
- Forum: mikroC General
- Topic: PIC 2 PIC Master/Slave Communication using I2C... Enjoy
- Replies: 41
- Views: 110032
PIC 2 PIC Master/Slave Communication using I2C... Enjoy
Hi all, here is some simple code for Master/Slave I2C projects. I can't take all of the credit for writing this. I used mB and mP code/methods that I found on the forum and translated it into this. Feel free to comment, but I might not be quick to respond because I only get on here about 1-2 times a...
- 17 Nov 2006 05:36
- Forum: mikroBasic General
- Topic: SPI Switching
- Replies: 4
- Views: 2348
- 17 Nov 2006 03:06
- Forum: mikroBasic General
- Topic: RPM dependant switching
- Replies: 25
- Views: 13012
I know it's been a while since you posted this, but I just found your post and thought this information might help you if you haven't figured it out yet. Somthing that you might want to consider is that for 5000 RPM and a 4 cylinder engine the frequency you will see from the ignition coil or Engine ...
- 28 Aug 2006 23:29
- Forum: mikroC General
- Topic: 16F88 and I2C
- Replies: 13
- Views: 7760