Author |
Message |
Topic: i2c with 3 pic |
01011
Replies: 5
Views: 7130
|
Forum: General CCS C Discussion Posted: Mon Apr 26, 2010 5:13 am Subject: i2c with 3 pic |
hi,
no one has an idea? |
Topic: how to measure the RPM |
01011
Replies: 5
Views: 9510
|
Forum: General CCS C Discussion Posted: Thu Apr 22, 2010 7:09 am Subject: Re: thank you |
hai,
Thank you for your reply. I already done likewise, in this method every one second we get the RMP value. I need live RPM value without 1 second delay.
in my code, you can calculate speed afte ... |
Topic: i2c with 3 pic |
01011
Replies: 5
Views: 7130
|
Forum: General CCS C Discussion Posted: Wed Apr 21, 2010 2:46 pm Subject: i2c with 3 pic |
Sorry for these 2 mistakes, I was trying some codes and I posted the wrong programs.
I've edited my 1st post to correct these mistakes (I use fast i2c, in slave I use i2c_read(), and there is no do ... |
Topic: how to measure the RPM |
01011
Replies: 5
Views: 9510
|
Forum: General CCS C Discussion Posted: Wed Apr 21, 2010 10:41 am Subject: how to measure the RPM |
hi
i'm also reading a motor speed with a pic, but by using this method:
i calculate the period between to revolution of my motor;
#INT_TIMER0
void tmr0_isr()
{
// motor peri ... |
Topic: i2c with 3 pic |
01011
Replies: 5
Views: 7130
|
Forum: General CCS C Discussion Posted: Wed Apr 21, 2010 9:04 am Subject: i2c with 3 pic |
Hi,
I did a circuit with 3 pic (master is a 18F2550, one slave is a 18F2680 and another slave is a 18F2550), and I want to connect them using i2c
I don't know why but slaves don't answer to master ... |
|