- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
Search the Community
Showing results for tags 'eeprom'.
-
Once I wanted to automatically farm using OpenComputers. First I made robot, but 1.7.10's block update stutter made active robot annihilate framerate. Thus I opted for entity-based agent and made code to operate drone for autonomous farming. And now I decided to release the code for everyone to enjoy my work. Feel free to improve upon it, or use as is. Example setup: Inventory of active drone: Drone minimum components: Drone Case (Tier 1) Geolyzer Inventory Upgrade Central Processing Unit (CPU) (Tier 1) Memory (Tier 1) EEPROM wi
-
Drone Tree Farmer - Introduction - This is an automatic tree farmer script for drones harvesting spruce wood in king size (2x2). Just place a chest next to the drone and 8 or more saplings in the first slot and it should be be able to go on forever. No coal is needed, no charge pads, the solar panel upgrade will power the drone. This is not the fastest way to get wood, but it's pretty cheap, easy setup and doesn't need maintenance. Built for: OpenComputers-MC1.10.2-1.6.2.7, Lua 5.2. Also works on OpenComputers-MC1.7.10-1.6.2.12-universal, Lua 5.2, othe
-
I'm working on a basic OS for drones. However, development is very slow, because I can't find a way to replace a drone's EEPROM without disassembling it. Is there an easier way or do I have to suffer with this?
-
So, basically I'm trying to do this thing where I have a microcontroller and I want it always receiving, and when it receives a certain message, I want it to output redstone. I've got all the right components, and it doesn't crash on boot, but when it receives a message, it crashes. The code is simple, and yes I'm doing the component.proxy() thing. Full code: local modem = component.proxy(component.list("modem")()) local redstone = component.proxy(component.list("redstone")()) modem.open(123) local name, _, from, port, _, message = computer.pullSignal("modem_message") if mess
- 1 reply
-
- microcontroller
- eeprom
-
(and 1 more)
Tagged with:
-
I've been working on robots that don't have interfaces - and instead commune by wireless means. Part of programming these robots has involved writing on an EEPROM My problem lies with getting certain APIs. I've previously encountered things such as modem = component.proxy(component.list("modem")()) to get to an API, but FileSystem doesn't work this way. The program here (ran on a computer) wouldn't work as I put fs = require("component").filesystem Where I should have put fs = require("filesystem") If I make this change, the program works. But if
-
Okay, I just spent a couple of days gathering enough materials on a server in order to build a tablet with all the best components. Near when I was finished, however, I had to finish it quickly, and started making it, while not quite understanding how to make the flashed EEPROM since it wasn't in the recipe book but thinking I did because I put an EEPROM in my crafting bench and another, presumably flashed, came out. I tried to stop the assembler mid-way, however, as I was a bit scared I had made a mistake, but I couldn't. Now I have a 6 diamond brick... Does anyone know how I can make th
-
Description: I am wanting to use unmanaged drives more but need a file system like driver for it and a bios for an eeprom that is not based on OpenOS Devfs Function: I would like basic file management e.g. read, write, move and delete files (directories are optional) as well as an loader program that loads a file from OpenOS to the drive (this is optional) and a small bios for an eeprom to load a file like the default lua bios where it loads init.lua or autorun.lua ( again optional) Deadline: I'm not too fussed, I would appreciate it a
-
Introduction imagine you are programming a drone or a microcontroller... And then you are hitting the EEPROM limits - 4KiB isn't a lot of space. Now you could start writing ugly code but there is a better solution: Crunch! Crunch is a program that compresses Lua source files. Depending on the input file size and the amount of memory available it is able to utilize a variety of methods to keep the output size small. That is starting with simple token based whitespace reduction and reaching to full parsing and scoping rules to replace local variables with shorter names
-
I am building an OS and i am not going to use the filesystem library. I am going to write my own filesystem for unmanaged drives. To boot i need to be able to run programs. The default libraries will not support my custom filesystem how can i run programs? Is is possible to compile and run a string as a program using EEPROM accessible libraries?
-
Hi! Here is key button receiver code: type, _, char, _ = computer.pullSignal() --Receiving input while true do if type = "key_up" then print(char) end end And here is problem: when I dont touch keyboard it prints 116
-
So recently I installed OpenComputers because I thought it was cool, and to start a computer, a EEPROM containing a Lua BIOS is needed. i tried using both of the ones in the mod (EEPROM, EEPROM (Lua BIOS)) How do I program the EEPROM? I googled everything and none helped or was related to this topic... I probably sound like a total noob but i need to know how to get my computer running. thx
-
With this eeprom you can send the drone any lua command via network message in port 123 and it will execute it and send the response as a broadcast in the same port (if there's no response you'll get a bunch of nil) local m = component.proxy(component.list("modem")()) m.open(123) local typ local data while true do while typ ~= "modem_message" do typ,_,_,_,_,data = computer.pullSignal() end local f = assert(load(data)) w,x,y,z = f() m.broadcast(123, w,x,y,z) typ = nil f = nil end