Non-working code version, still not reading from sensor or detecting SD card.