[riot-notifications] [RIOT-OS/RIOT] shell: Add command i2c_scan (#11240)

MrKevinWeiss notifications at github.com
Sat Mar 23 10:08:38 CET 2019


> Hmm, this would only save little time

More a suggestion of not wanting to hit the reserved i2c address.  

> I also noticed some surprising things when I used i2c_read_bytes() with a length of zero. I had to at least read one byte of data for the tool to work on STM32F3.

Some hardware, st being one, must read one (or sometimes two) bytes.   I couldn't find a way around it.  As soon as you start an address read it assumes you want at least one byte.

-- 
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/11240#issuecomment-475853772
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190323/d04069e0/attachment.html>


More information about the notifications mailing list