I got very sick this week. so trying something new became very hard,
Goals
Leading up to mid-term review I aim to look at:
- charlie plexing: I would be curious to understand
- more complex sound - break out boards.
- I very much need to understand and catch up remote non-wired interactions.
Let's look at what output devices I played with previously.
I had mostly played with speakers and the amplifiers required for speakers.
this was my Kat-board: It was originally meant as just a breakoutboard board, with the paws like little add-ons that you could attach to your board.
This is was what i was using for amplification for 2023.
This is some of the code i tried running on it back in 2023
const int spPin = 5; //XIAO RP2040 void setup() { pinMode(spPin,OUTPUT); } void loop() { //hz1000(); toneOut(); // pwmSound(); } void hz1000(){ digitalWrite(spPin, HIGH); delayMicroseconds(500); digitalWrite(spPin, LOW); delayMicroseconds(500); } void toneOut(){ //tone(pin, frequency, duration Usec) tone(spPin,261.626,1000000000); //c4 delay(1000); tone(spPin,329.628,1000000000); //E4 delay(1000); tone(spPin,391.995,1000000000); //G4 delay(1000); } void pwmSound(){ //analogWrite(spPin, 255); analogWrite(spPin, 150); // low volume?? delayMicroseconds(500); digitalWrite(spPin, 0); delayMicroseconds(500); }