d0e5af3b09
import microcontroller def dump(n = microcontroller.nvm): for i in range(0,len(n)): print ("%02X " % n[i], end="") if i % 16 == 15: print('') microcontroller.nvm[0:4096] = bytes([1,2,3,4,5,6,7,8]) * 512 microcontroller.nvm[4096:8192] = bytes([16,17,18,19]) * 1024 microcontroller.nvm[4090:4101] = b'thisisatest' microcontroller.nvm[100:105] = b'hello' microcontroller.nvm[8000:8007] = b'goodbye' dump() |
||
---|---|---|
.. | ||
feather_nrf52840_express | ||
makerdiary_nrf52840_mdk | ||
makerdiary_nrf52840_mdk_usb_dongle | ||
particle_argon | ||
particle_boron | ||
particle_xenon | ||
pca10056 | ||
pca10059 | ||
sparkfun_nrf52840_mini | ||
adafruit_nrf52840_s140_v6.ld | ||
board.h | ||
common.ld | ||
make-pins.py | ||
nrf52_prefix.c | ||
nrf52840_1M_256k_s140_6.0.0.ld | ||
nrf52840_1M_256k.ld |