control WS2812 RGB with 3 pots

Trying to drive WS2812 LED's (50) with 3 10K pots For manual RGB control.
Compiling errors
Arduino: 1.8.10 (Linux), Board: "Arduino/Genuino Uno"

/home/sos/Arduino/PWM_with_Potentiometer/PWM_with_Potentiometer.ino: In function 'void loop()':
PWM_with_Potentiometer:37:73: error: no matching function for call to 'Adafruit_NeoPixel::setPixelColor(uint32_t)'
pixels.setPixelColor( pixels.Color(knobValue1,knobValue2,knobValue3));
Multiple libraries were found for "Adafruit_NeoPixel.h"
Used: /home/sos/Arduino/libraries/Adafruit_NeoPixel
^
In file included from /home/sos/Arduino/PWM_with_Potentiometer/PWM_with_Potentiometer.ino:1:0:
/home/sos/Arduino/libraries/Adafruit_NeoPixel/Adafruit_NeoPixel.h:54:5: note: candidate: void Adafruit_NeoPixel::setPixelColor(uint16_t, uint8_t, uint8_t, uint8_t)
setPixelColor(uint16_t n, uint8_t r, uint8_t g, uint8_t b),
^~~~~~~~~~~~~
/home/sos/Arduino/libraries/Adafruit_NeoPixel/Adafruit_NeoPixel.h:54:5: note: candidate expects 4 arguments, 1 provided
/home/sos/Arduino/libraries/Adafruit_NeoPixel/Adafruit_NeoPixel.h:55:5: note: candidate: void Adafruit_NeoPixel::setPixelColor(uint16_t, uint32_t)
setPixelColor(uint16_t n, uint32_t c),
^~~~~~~~~~~~~
/home/sos/Arduino/libraries/Adafruit_NeoPixel/Adafruit_NeoPixel.h:55:5: note: candidate expects 2 arguments, 1 provided
PWM_with_Potentiometer:39:11: error: 'delayval' was not declared in this scope
delay(delayval); // Delay for a period of time (in milliseconds).
^~~~~~~~
/home/sos/Arduino/PWM_with_Potentiometer/PWM_with_Potentiometer.ino:39:11: note: suggested alternative: 'delay'
delay(delayval); // Delay for a period of time (in milliseconds).
^~~~~~~~
delay
exit status 1
no matching function for call to 'Adafruit_NeoPixel::setPixelColor(uint32_t)'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

WS2812_LED_coding.txt (1.6 KB)

OK, first things first.

You need to go and read the forum instructions so that you can go back and modify your original post (not re-post it) - using the "More -> Modify" option below the right hand corner of your post - to mark up your code as such using the "</>" icon in the posting window. Just highlight each section of code (or output if you need to post that) from the IDE and click the icon.

In fact, the IDE itself has a "copy for forum" link to put these markings on a highlighted block for you so you then just paste it here in a posting window. But even before doing that, don't forget to use the "Auto-Format" (Ctrl-T) option first to make it easy to read. If you do not post it as "code", fewer people will examine it.

It is inappropriate to attach it as a ".ino" file unless it is clearly too long to include in the post proper. People can usually see the mistakes directly and do not want to have to actually load it in their own IDE. And even that would also assume they are using a PC and have the IDE running on that PC.

Also tidy up your blank space. Do use blank lines, but only single blanks between complete functional blocks.

Because the clocking bracket on your loop function definition is in the wrong place.
You have it at the end of reading the three pots, it should be at the end of all the code.