OpenComputers Driver for GregTech Battery Buffers
This mod allows the Adapter block from OpenComputers to read information about the Battery Buffers from GregTech: Community Edition.
It provides the following functions:
local component = require("component")
local b = component.battery_buffer
-- Returns the charge of the buffer or of a single battery (indexed starting from 0)
-- Returns the Input/Output Voltage/Amperage of the buffer
-- Returns the number of batteries that are actually in the buffer right now
-- Returns the number of slots the buffer has
The project is licensed under the MIT License. Therefore you are free to use this mod in your modpack.