From 7d70af32ff550e0847f4c427ecfbd4a492a5ba31 Mon Sep 17 00:00:00 2001 From: Tony DiCola Date: Tue, 22 Jul 2014 22:35:12 -0700 Subject: [PATCH] Update tftbmp example note to mention Arduino mega hardware SPI. --- examples/tftbmp/tftbmp.pde | 4 ++-- examples/tftbmp_shield/tftbmp_shield.pde | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/tftbmp/tftbmp.pde b/examples/tftbmp/tftbmp.pde index 4dc1ce3..3c437d9 100755 --- a/examples/tftbmp/tftbmp.pde +++ b/examples/tftbmp/tftbmp.pde @@ -1,7 +1,7 @@ // BMP-loading example specifically for the TFTLCD breakout board. // If using the Arduino shield, use the tftbmp_shield.pde sketch instead! -// If using an Arduino Mega, make sure the SD library is configured for -// 'soft' SPI in the file Sd2Card.h. +// If using an Arduino Mega make sure to use its hardware SPI pins, OR make +// sure the SD library is configured for 'soft' SPI in the file Sd2Card.h. #include // Core graphics library #include // Hardware-specific library diff --git a/examples/tftbmp_shield/tftbmp_shield.pde b/examples/tftbmp_shield/tftbmp_shield.pde index 48595c0..a6cbe67 100755 --- a/examples/tftbmp_shield/tftbmp_shield.pde +++ b/examples/tftbmp_shield/tftbmp_shield.pde @@ -1,7 +1,8 @@ // BMP-loading example specifically for the TFTLCD Arduino shield. // If using the breakout board, use the tftbmp.pde sketch instead! -// If using an Arduino Mega, make sure the SD library is configured for -// 'soft' SPI in the file Sd2Card.h. +// If using an Arduino Mega and your sheild does not use the ICSP header for +// SPI, make sure the SD library is configured for 'soft' SPI in the file Sd2Card.h. +// If in doubt, update the library to use 'soft' SPI. #include // Core graphics library #include // Hardware-specific library