When I assign
Pin 8 to Source 8,
my Crazyflie wont start up properly.
When switching it back to
Pin 8 to Source 7, (as described in the table)
the Crazyflie starts up. But i wont get a reading.
NAMELY THIS IS MY READING:
B8 3A BE BE BE BE BE BE BE BE BE BE BE BE BE BE
Status 5
That maybe another problem when calling the bitcraze i2c-functions.
Is my approach the right one?
1.) initialize I2C1 device
2.) perform signal acquisition (LIDAR2 Internal)
Code: Select all
i2cdevWriteByte(I2C1_DEV, 0x62, 0x00, 0x04);
Where 0x62 is the adress of the LiDAR...
3.) xTaskCreate my polling-task
4.) vTaskDelayUntil in polling task to make sure i wont overpoll anything
5.) Read byte
Code: Select all
i2cdevReadByte(I2C1, 0x62, 0x10, pData);
6.) Console Printing
Code: Select all
DEBUG_PRINT("pData: %i\n", *pData);
tobias wrote:The pull-up should be connected to VCC somewhere along the SCL line. You can do it on the expansion board if that is easiest.
You mean soldering a resistor between SCL-pin and VCC?
How much ohms do i need there?
Sorry for those noobish questions.
Greets,
Che