Jump to content
43oh

marrod

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by marrod

  1. Hi guys, I cannot communicate through I2C(0) (PB_2,PB_3) to a magnetic sensor AS5048B from AMS (Austrian microsystems). I only get 0.00 even if a disconnect the sensor. I am using the EK-TM4C129XL board. The sensors is mounted on a PCB, (10k pull ups on board). Pins A1 and A2 are connected to ground therefore the sensor Address is 0x40. With an Arduino DUE the AS4048B works fine. For this sensor there is a library available (ams_as5048b.h from SOSAndroid.f). My code: #include <Wire.h> #include <ams_as5048b.h> unsigned int timeSystem = 0; unsigned int timeEncoder = 0;
×
×
  • Create New...