noise is corrected to nice ?
Posted: Tue Jun 29, 2021 5:53 pm
So I was trying to use the noise function form FastLED. Here is my code
This is ESP-IDF 4.2
On a Windows machine
But when I run this code I get the error of:
Any ideas why ?
Thanks for any help.
This is ESP-IDF 4.2
On a Windows machine
Code: Select all
#include "mdf_common.h"
#include "mwifi.h"
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <stdio.h>
#include <led_strip.h>
#include <noise.h>
void app_main(void)
{
while(1){
noise(5,7);
//printf("Hello world %f \n", noise_values);
vTaskDelay(1000 / portTICK_RATE_MS);
}
}
Code: Select all
../main/buzzer.c:38:10: error: implicit declaration of function 'noise'; did you mean 'nice'? [-Werror=implicit-function-declaration]
noise(5,7);
^~~~~
nice
cc1.exe: some warnings being treated as errors
[13/20] Performing build step for 'bootloader'
[0/1] Re-running CMake...
CMake Warning at D:/ESP-MDF/esp-mdf/esp-idf/tools/cmake/idf.cmake:18 (message):
IDF_PATH environment variable is different from inferred IDF_PATH.
Check if your project's top-level CMakeLists.txt includes the right
CMake files. Environment IDF_PATH will be used for the build:
D:/ESP-IDF
Call Stack (most recent call first):
D:/ESP-MDF/esp-mdf/esp-idf/tools/cmake/project.cmake:7 (include)
CMakeLists.txt:20 (include)
Thanks for any help.