Important - Whadda Arduino WPSH202 Manual

Compatible data logging shield
Table of Contents

Advertisement

2. Your data logging shield uses chipSelect 10 instead of chipSelect 4. Change line 36 in the
sketch to:
const int chipSelect = 10;

IMPORTANT

The ATmega2560-based MEGA compatible (e.g. WPB101) and ATmega32u4-based Leonardo
compatible (e.g. WPB103) development boards do not use the same hardware SPI pin-out. If
you are using one of these boards, please specify the pins used for SPI communication with
the SD card. For the VMA202, these are pins 10, 11, 12 and 13.
In the CardInfo sketch, modify line:
while (!card.init(SPI_HALF_SPEED, chipSelect)) {
to:
while (!card.init(SPI_HALF_SPEED,1,11,12,13)) {
4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Arduino WPSH202 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents