mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 05:07:07 +00:00
temp sensor
This commit is contained in:
0
ESP32-IDF_ESPNOW-Transmitter/build/.ninja_lock
Normal file
0
ESP32-IDF_ESPNOW-Transmitter/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
||||
ref: refs/heads/main
|
||||
4c2820d377d1375e787bcef612f0c32c1427d183
|
||||
|
@@ -18,7 +18,7 @@ set(HEAD_HASH)
|
||||
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
|
||||
|
||||
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
|
||||
set(GIT_DIR "/home/abobkov/MyProjects/ESP-Nodes/.git")
|
||||
set(GIT_DIR "/home/abobkov/esp/v5.4.1/esp-idf/.git")
|
||||
# handle git-worktree
|
||||
if(EXISTS "${GIT_DIR}/commondir")
|
||||
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
||||
|
@@ -1 +1 @@
|
||||
a2c5f32383aeefb1e2073dde968eb69121ee6b4f
|
||||
4c2820d377d1375e787bcef612f0c32c1427d183
|
||||
|
@@ -41,14 +41,14 @@ static esp_err_t joystick_adc_init(void)
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
void joystick_show_raw_xy()
|
||||
/*void joystick_show_raw_xy()
|
||||
{
|
||||
ESP_ERROR_CHECK(adc_oneshot_read(adc_xy_handle, ADC_CHANNEL_0, &x));
|
||||
ESP_ERROR_CHECK(adc_oneshot_read(adc_xy_handle, ADC_CHANNEL_1, &y));
|
||||
ESP_LOGI("(x,y)", "( %d, %d )", x, y);
|
||||
}
|
||||
}*/
|
||||
|
||||
void get_joystick_xy(int *x_axis, int *y_axis)
|
||||
static void get_joystick_xy(int *x_axis, int *y_axis)
|
||||
{
|
||||
ESP_ERROR_CHECK(adc_oneshot_read(adc_xy_handle, ADC_CHANNEL_0, x_axis));
|
||||
ESP_ERROR_CHECK(adc_oneshot_read(adc_xy_handle, ADC_CHANNEL_1, y_axis));
|
||||
|
@@ -15,8 +15,8 @@ static void sendData (void);
|
||||
static void get_joystick_xy(int *x_axis, int *y_axis);
|
||||
static void deletePeer (void);
|
||||
|
||||
esp_err_t joystick_adc_init(void);
|
||||
void joystick_show_raw_xy();
|
||||
static esp_err_t joystick_adc_init(void);
|
||||
//void joystick_show_raw_xy();
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user