void setup() {
// put your setup code here, to run once:
Serial1.begin(115200);
Serial1.println("Hello, Raspberry Pi Pico!");
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
digitalWrite(3, HIGH);
analogWriteResolution(4);
}
void loop() {
// put your main code here, to run repeatedly:
analogWrite(6, 200);
}
Loading
cd74hc4067
cd74hc4067