File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Adafruit_GFX_Button coin = Adafruit_GFX_Button();
4646
4747void setup () {
4848 Serial.begin (115200 );
49- // while (!Serial);
49+ while (!Serial);
5050
5151 Serial.println (" All Test!" );
5252
@@ -77,21 +77,21 @@ void setup() {
7777 tft.println (" FAILED" );
7878 while (1 );
7979 }
80- uint8_t manid[ 512 ] , devid[ 512 ] ;
80+ uint8_t manid, devid;
8181 Serial.println (" Reading Manuf iD" );
82- flash.GetManufacturerInfo (manid, devid);
82+ flash.GetManufacturerInfo (& manid, & devid);
8383 Serial.print (" Manuf: " );
84- Serial.println (* manid, HEX);
84+ Serial.println (manid, HEX);
8585 Serial.print (" Device: " );
86- Serial.println (* devid, HEX);
87- if (* devid != 0x16 ) {
86+ Serial.println (devid, HEX);
87+ if (devid != 0x17 ) {
8888 tft.setTextColor (ILI9341_RED);
8989 tft.println (" FAILED" );
9090 Serial.println (" QSPI Flash not found!" );
9191 while (1 );
9292 }
93- tft.print (" OK\n\t Manuf: 0x" ); tft.println (* manid, HEX);
94- tft.print (" \t Dev: 0x" ); tft.println (* devid, HEX);
93+ tft.print (" OK\n\t Manuf: 0x" ); tft.println (manid, HEX);
94+ tft.print (" \t Dev: 0x" ); tft.println (devid, HEX);
9595
9696 /* ************** SD CARD */
9797 tft.setCursor (0 , 48 );
You can’t perform that action at this time.
0 commit comments