
aber die adxSONSTwas sind der NK ersatz oder?
der ADXL auch :;-)fireball hat geschrieben:Ich dachte der NK hängt per I2C am Bus?
Code: Alles auswählen
// **************************
// I2C Accelerometer ADXL345
// **************************
// I2C adress: 0x3A (8bit) 0x1D (7bit)
// principle:
// 1) CS PIN must be linked to VCC to select the I2C mode
// 2) SD0 PIN must be linked to VCC to select the right I2C adress
// 3) bit b00000100 must be set on register 0x2D to read data (only once at the initialization)
// 4) bits b00001011 must be set on register 0x31 to select the data format (only once at the initialization)
Hi,calli hat geschrieben:http://www.elv.de/output/controller.asp ... hleunigung
Noch günstiger und sogar mit Pegelwandler. Hätte ich schon längst bestellt aber die VK sind so hoch und ich muss erst mal meinen so zum fliegen bringen![]()
C