OpenComputers

OpenComputers

49M Downloads

How do you postiton text in an eeprom program?

fl215 opened this issue ยท 1 comments

commented

I want to position a text at the center of the screen, the coordinates are done but how do I do it in an eeprom? Should I just use gpu.set?

commented

there is no keyword gpu available in eeprom. but you do have the component class
you want to do something like component.invoke((component.list("gpu")()), "set", pos_x, pos_y, str)
see https://ocdoc.cil.li/tutorial:custom_oses for more information