kazanscube wrote:
Your still human to me mr dcj123.
Thanks,
I am going to got to bed, I'll finish working on my circuit tomorrow.
Here some code for an analog output switching from high to low back high and so on

Its also the first program I wrote for my microcontorller,
Code:
int pwm = 0;
void setup() {
pinMode(pwm, OUTPUT);
}
void loop() {
for (int x=0; x<256; x++) {
analogWrite(pwm, x);
delay(2);
}
for (int x=255; x>=0; x--) {
analogWrite(pwm, x);
delay(2);
}
}