Joined: 10 Jun 2006 Posts: 26 Location: Hoeksche Waard
Posted: Mon May 22, 2017 1:33 pm Post subject: Arduino as I2C slave
Dear forum, (Nederlands, onderaan)
At HCC-Robotica, I learned (in C) how to make an Arduino a slave.
This slave has 6 registers.
This must also be possible in Bascom, but how do I get it?
To begin with, I want to make a slave without a register.
If that succeeds, I try the slave with 6 registry addresses as on the I2C course.
Do you have any idea how to start?
best regards, Dré
-=-=-=-
Geacht forum,
Bij HCC-Robotica heb ik (in C geleerd) hoe je van een Arduino een slave maakt.
Deze slave heeft 6 registers.
Dit moet ook in Bascom mogelijk zijn, maar HOE pak ik dat aan?
Om te beginnen wil ik een slave zonder register maken.
Als dat is gelukt, probeer ik de slave met 6 register adressen zoals op de I2C cursus.
Heeft u enig idee hoe te beginnen?
groeten, Dré _________________ Pluk het moment!
een hele dag lukt toch niet.
We have the I2C slave add on for that.
It works for TWI, USI and XMEGA.
Since this is a commercial add on, we do not allow the use of this forum to produce similar code. _________________ Mark
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum