[riot-notifications] [RIOT-OS/RIOT] sys/arduino: Added Wire (I2C) interface (#10592)

Gunar Schorcht notifications at github.com
Thu Sep 19 18:49:58 CEST 2019


gschorcht commented on this pull request.



> +	virtual size_t write(uint8_t data);
+
+    /**
+     * @brief   Queue bytes for transmission from a master to slave device
+     *
+     * The method queues bytes for transmission from a master to slave device
+     * in-between calls to #beginTransmission and #endTransmission.
+     *
+     * @param[in]   data    Array of data to send as bytes
+     * @param[in]   size    Number of bytes to transmit
+     *
+     * Copied from https://www.arduino.cc/en/Reference/WireWrite
+     *
+     * @return  number of bytes queued
+     */
+	virtual size_t write(const uint8_t *data, size_t size);

Already fixed some time ago.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10592#discussion_r326278215
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190919/86385d8b/attachment.htm>


More information about the notifications mailing list