af5b509c75
1. Use uctypes.bytearray_at(). Implementation of the "ffi" module predates that of "uctypes", so initially some convenience functions to access memory were added to ffi. Later, they landed in uctypes (which follows CPython's ctype module). So, replace undocumented experimental functions from ffi to documented ones from uctypes. 2. Use more suitable type codes for arguments (e.g. "P" (const void*) instead of "p" (void*). 3. Some better var naming. 4. Clarify some messages printed by the example. |
||
---|---|---|
.. | ||
SDdatalogger | ||
embedding | ||
hwapi | ||
network | ||
unix | ||
accel_i2c.py | ||
accellog.py | ||
asmled.py | ||
asmsum.py | ||
conwaylife.py | ||
ledangle.py | ||
mandel.py | ||
micropython.py | ||
pins.py | ||
pyb.py | ||
switch.py |