wilmouths / RGBLed

An Arduino library to control RGB led
GNU General Public License v3.0
42 stars 20 forks source link

error: 'analogWrite' was not declared in this scope #8

Closed Danjuanlab closed 2 years ago

Danjuanlab commented 3 years ago

error: 'analogWrite' was not declared in this scope

I am using the esp32 board, but this error is prompted when compiling.

wilmouths commented 3 years ago

Hello, sorry for my late answer, I will look on my side with an esp32 if I have the same problem and how to solve it, because it seems to me that an arduino and an esp32 are quite similar on their API.

I'll come back to you.

Regards.

calania commented 2 years ago

I have made a pull request that solves it for me. #10