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

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


gschorcht commented on this pull request.



> +
+    /**
+     * @brief   Request bytes from a I2C slave device
+     *
+     * Used by the master to request bytes from a slave device. The bytes may
+     * then be retrieved with the #available and #read methods. Sends always
+     * a STOP condition after the request.
+     *
+     * Copied from https://www.arduino.cc/en/Reference/WireRequestFrom
+     *
+     * @param[in]   addr    7-bit address of the device to request bytes from
+     * @param[in]   size    Number of bytes to request
+     *
+     * @return  number of bytes returned from the slave device
+     */
+	uint8_t requestFrom(uint8_t addr, uint8_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_r326278103
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190919/2fe46a0d/attachment.htm>


More information about the notifications mailing list