I face a problem that i used UNO and wifi shield to do project. The process is that first connect to wifi AP, sensing data , send to database and finally store data to SD which is on the wifi shield. The first three step is OK, however, when enter to storage process, the program would have some problem such as show the garbage characters in serial monitor and stop.
This problem is really confused me. i separate this code to sensing data+SD, it works. So is the wifi.h would effect SD.h?
I face a problem that i used UNO and wifi shield to do project. The process is that first connect to wifi AP, sensing data , send to database and finally store data to SD which is on the wifi shield. The first three step is OK, however, when enter to storage process, the program would have some problem such as show the garbage characters in serial monitor and stop.
This problem is really confused me. i separate this code to sensing data+SD, it works. So is the wifi.h would effect SD.h?
Without seeing your code, it sounds like you have run out of SRAM. If you try to use more SRAM than you have available, it will wrap around into areas of SRAM used by the serial buffer.
I'm no very understand what you explain. I'm a new player in this area. Please explain more detail for me or tell me how to modify my code to have these two function at the same program.
On this forum it is not appreciated if you post the same question in different sections.
The reason is that all answers get scattered around and you will get multiple the same answers, other people give the same answer, effectively wasting time.
If you have multiple SPI devices you must enable/disable them alternately with their CS (=Chip Select) pin.