diff options
| author | Aditya Naik | 2020-03-24 18:30:06 -0400 |
|---|---|---|
| committer | Aditya Naik | 2020-03-24 18:30:06 -0400 |
| commit | 7bf9285c5f6fb067e62db3ebbe36cd717a37dd8e (patch) | |
| tree | 2d32e1e88b7074d9361e71b957ae015212cd2859 | |
| parent | 49b638a6ae3c1afcff640809c0a34d9021ae844b (diff) | |
Working MDR req and MDR ACK
| -rw-r--r-- | Src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -161,6 +161,8 @@ int main(void) }
HAL_GPIO_TogglePin(led_GPIO_Port, led_Pin);
+
+
while (HAL_I2C_Master_Receive(&hi2c1, (uint8_t)I2C_ADDRESS, (uint8_t*)MDR_req_buf, 2, 10000) != HAL_OK);
uint8_t bufbuf2[] = "MDR ACK buffer: ";
|
