but then learned i have a different OLED to the tutorial, mine is connected to I2c.
so basically, i confirmed my sensor works on my pc, and the Arduino nano works. it shows the text, but the it reads zero. im sure it will be a simple fix for you guys, but ive tried to figure it out and its taken me 2 days.
the serial monitor, does update, and i can see activity on the Arduino, the sensor is powered, fan operates. also the circuit is connected same as the tutorial, except the modification to the OLED.
Try commenting the clearDisplay out. It will likely make a mess on the OLED as values change, but it may allow you to confirm that the display is working.
dust sensor viewer, with a USB adaptor direct to pc. when its connected to my pc with correct drivers etc, it works a treat. give the sensor some smoke... numbers jumps up and so on. then plugged it back into the bread board, ran my code. still the same.
i used another code that has moving text, and that worked fine.
im not sure if my code has the uses the correct tx/rx pins,