You could also use i2c manager to handle it for you. See https://github.com/ropg/i2c_manager
Best regards
Search found 2 matches
- Sat Nov 08, 2025 4:01 pm
- Forum: General Discussion
- Topic: multi-thread I2C synchronization
- Replies: 12
- Views: 24482
- Sun Jun 01, 2025 10:50 am
- Forum: ESP-IDF
- Topic: AVRCP without A2DP ?
- Replies: 3
- Views: 4533
Re: AVRCP without A2DP ?
Hello, I figured out that a2dp is needed for my PC (if not initalized, my archlinux PC refuses to connect), even though it is not used. This code should pause and play music:
#include "freertos/FreeRTOS.h"
#include "esp_err.h"
#include "esp_log.h"
#include "nvs.h"
#include "nvs_flash.h"
#include ...
#include "freertos/FreeRTOS.h"
#include "esp_err.h"
#include "esp_log.h"
#include "nvs.h"
#include "nvs_flash.h"
#include ...