Search found 6 matches

by TomSSS
14 Aug 2008 01:34
Forum: mikroC General
Topic: PIC 2 PIC Master/Slave Communication using I2C... Enjoy
Replies: 41
Views: 109299

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...
by TomSSS
08 Dec 2006 01:08
Forum: mikroC General
Topic: PIC 2 PIC Master/Slave Communication using I2C... Enjoy
Replies: 41
Views: 109299

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 ...
by TomSSS
06 Dec 2006 05:04
Forum: mikroC General
Topic: PIC 2 PIC Master/Slave Communication using I2C... Enjoy
Replies: 41
Views: 109299

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...
by TomSSS
17 Nov 2006 05:36
Forum: mikroBasic General
Topic: SPI Switching
Replies: 4
Views: 2348

It sounds like you are on the right track. You might want to consider gating the SCL line instead of SDO. If you only gate SDO and still send out SCL, you're basically doing the equivilent of sending all "1's" or all "0's" (depending if you pull up or down SDO). Just a thought.
by TomSSS
17 Nov 2006 03:06
Forum: mikroBasic General
Topic: RPM dependant switching
Replies: 25
Views: 13010

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 ...
by TomSSS
28 Aug 2006 23:29
Forum: mikroC General
Topic: 16F88 and I2C
Replies: 13
Views: 7758

Joe,
It's not just the 16F88. The 16F690 gets the same errors, and I'm assuming there are others as well.

Go to advanced search