const int y = 1;
const double pi = 3.14;
double p1 = 0;
p1 = 127.5*sin(x+(2*pi/3))+127.5;
if(x = 2*pi) x = 0;
... the brightness on each led doesn't change ...
What changes(if any) should i make to the code to make it work?