You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Issue single command to SSD1306, using I2C or hard/soft SPI as needed.
370
-
// Because command calls are often grouped, SPI transaction and selection
371
-
// must be started/ended in calling function for efficiency.
372
-
// This is a private function, not exposed (see ssd1306_command() instead).
378
+
/*!
379
+
@brief Issue single command to SSD1306, using I2C or hard/soft SPI as needed. Because command calls are often grouped, SPI transaction and selection must be started/ended in calling function for efficiency. This is a protected function, not exposed (see ssd1306_command() instead).
380
+
381
+
@param c
382
+
the command character to send to the display.
383
+
Refer to ssd1306 data sheet for commands
384
+
@return None (void).
385
+
@note
386
+
*/
373
387
voidAdafruit_SSD1306::ssd1306_command1(uint8_t c) {
374
388
if (wire) { // I2C
375
389
wire->beginTransmission(i2caddr);
@@ -382,8 +396,18 @@ void Adafruit_SSD1306::ssd1306_command1(uint8_t c) {
382
396
}
383
397
}
384
398
385
-
// Issue list of commands to SSD1306, same rules as above re: transactions.
386
-
// This is a private function, not exposed.
399
+
400
+
/*!
401
+
@brief Issue list of commands to SSD1306, same rules as above re: transactions. This is a protected function, not exposed.
0 commit comments