TinyScreen+ and SD board

Andy · 5 · 3899

Andy

  • Full Member
  • ***
    • Posts: 22
    • View Profile
I am working on something where I need to have a microSD board.

I have a tinyScreen+ and an SD board only so far. If I do any calls the the SD library, everything locks up and everything is dead. I can recompile, reload etc... I can read buttons and everything, but again, once I try to create a file or read a directory the whole thing locks up.

I've verified this with serial comms to do println debugging and it is 100% reproducible.

This is the lib I am using:

https://www.arduino.cc/en/Reference/SD

If anyone has any suggestions on how to get this beyond a lockup and can share, very much appreciated.


Andy

  • Full Member
  • ***
    • Posts: 22
    • View Profile
The lib works with the old board (I verified). But still locks up with the tinyScreen+ over here on my end. I can't use the old board for this project.

Anyone?


Andy

  • Full Member
  • ***
    • Posts: 22
    • View Profile
I tested the wifi card and it works with the tinyDuino, but not the the TinyScreen+ as well.

It is likely there is a solution in a setting, define or otherwise. Can someone look into this?

My intent is to combine a tinyScreen+, SDCard board and wifi board.


Ben Rose

  • Administrator
  • Hero Member
  • *****
    • Posts: 357
    • View Profile
These should be working on TinyScreen+, can you let me know what error you are seeing with the WiFi board? I will try to test the Arduino SD library soon, but can you try using sdFat? I use that regularly with TinyScreen+.


Andy

  • Full Member
  • ***
    • Posts: 22
    • View Profile
I have SDFat working fine (thanks for pointing me in that direction). The built in SD support is not seeing files or creating them, but that is now a low priority.

For the wifi board, I am using the built in Example code for ScanNetworks. It is popping up a "WiFi shield not present" within setup(). If there is a different library that works, and you can point me that way, much appreciated.





 

SMF spam blocked by CleanTalk