mirror of
https://github.com/d0k3/GodMode9.git
synced 2026-05-31 06:46:56 +00:00
* Add i2c read support to lua * Add i2c write support to lua With memory permissions before write * Adjust i2c write * Fix inverted id check, better permissions * Change write to not return anything on success * Add some documentation for lua i2c * Change write length from 1024 to 64 * Add whitelist for i2c writing * Move i2c module into preload * Add registers and bitmasks for mcu Add documentation to lua-doc * Fix missing column divider in lua-doc * Add ~= 0 then to lua example * Add some more registers
7 lines
111 B
C
7 lines
111 B
C
#pragma once
|
|
#include "gm9lua.h"
|
|
|
|
#define GM9LUA_I2CLIBNAME "_i2c"
|
|
|
|
int gm9lua_open_internali2c(lua_State* L);
|