Logo
Explore Help
Sign In
Mirror/GodMode9
1
0
Fork 1
You've already forked GodMode9
mirror of https://github.com/d0k3/GodMode9.git synced 2026-05-31 06:46:56 +00:00
Code Issues Packages Projects Releases Wiki Activity
GodMode9/arm9/source/lua/gm9internali2c.h

7 lines
111 B
C
Raw Permalink Normal View History

Add support for reading and writing to I2C devices from lua (#934) * 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
2026-03-25 23:18:03 +01:00
#pragma once
#include "gm9lua.h"
#define GM9LUA_I2CLIBNAME "_i2c"
int gm9lua_open_internali2c(lua_State* L);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 38ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API