mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2026-07-28 04:16:01 +00:00
File diff suppressed because one or more lines are too long
@@ -734,7 +734,7 @@ boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="c
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_adafruit___s_p_i_t_f_t.html" title="Adafruit_SPITFT is an intermediary class between Adafruit_GFX and various hardware-specific subclasse...">Adafruit_SPITFT</a> object. </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>Output pins are not initialized; application typically will need to call subclass' <a class="el" href="class_adafruit___s_p_i_t_f_t.html#a81fb1a7842c52fa1992569880f4ea494" title="Display-specific initialization function. ">begin()</a> function, which in turn calls this library's <a class="el" href="class_adafruit___s_p_i_t_f_t.html#ac5137e06a5f527d594aefabe38f524d8" title="Configure microcontroller pins for TFT interfacing. Typically called by a subclass' begin() function...">initSPI()</a> function to initialize pins. </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>Output pins are not initialized in constructor; application typically will need to call subclass' <a class="el" href="class_adafruit___s_p_i_t_f_t.html#a81fb1a7842c52fa1992569880f4ea494" title="Display-specific initialization function. ">begin()</a> function, which in turn calls this library's <a class="el" href="class_adafruit___s_p_i_t_f_t.html#ac5137e06a5f527d594aefabe38f524d8" title="Configure microcontroller pins for TFT interfacing. Typically called by a subclass' begin() function...">initSPI()</a> function to initialize pins. EXCEPT...if you have built your own SERCOM SPI peripheral (calling the SPIClass constructor) rather than one of the built-in SPI devices (e.g. &SPI, &SPI1 and so forth), you will need to call the <a class="el" href="class_adafruit___s_p_i_t_f_t.html#a81fb1a7842c52fa1992569880f4ea494" title="Display-specific initialization function. ">begin()</a> function for your object as well as pinPeripheral() for the MOSI, MISO and SCK pins to configure GPIO manually. Do this BEFORE calling the display-specific begin or init function. Unfortunate but unavoidable. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user