AT24CXX eeprom package for pxt
Author: shaoziyang
Date: 2018.May
open your microbit makecode project, in Add Package, paste
https://github.com/microbit-makecode-packages/AT24CXX
to search box then search.
- 80
-
function write_byte(addr: number, dat: number)
write a byte to special address. -
function read_byte(addr: number)
read a byte from special address. -
function write_word(addr: number, dat: number)
write a word to special address. -
function read_word(addr: number)
read a word from special address. -
function write_dword(addr: number, dat: number)
write a dword to special address. -
function read_dword(addr: number)
read a dword from special address.
MIT
Copyright (c) 2018, microbit/micropython Chinese community
- for PXT/microbit