Search found 4 matches

Return to advanced search

OK, a simpler example... even this code will not work for me and result in node C blinking crazy and eventually overheating.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
interrupt(1, "loop")
if event.iid == "loop" then
port.c = not port.c
end


what gives?
by Quackor
Tue Nov 26, 2013 00:16
 
Forum: Mod Releases
Topic: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesecons]
Replies: 1738
Views: 534981

I'm trying to have one of my outputs send a signal for half a second every 5 seconds or so... this code runs but slowly gets crazier and crazier (as in the port outputs more often, until it overheats... am I missing something fundamental here?) interrupt(0.5, "loop") if mem.count == nil then mem.cou...
by Quackor
Sun Nov 24, 2013 23:26
 
Forum: Mod Releases
Topic: [Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesecons]
Replies: 1738
Views: 534981

PilzAdam wrote:I guess this would fit better into the mesecons topic.


Directing all mod-related questions into a single topic seems messy... maybe it would be useful to have a forum section dedicated to mod functionality? not sure :/ I'll respost this in the messecons topic just in case.
by Quackor
Sun Nov 24, 2013 23:24
 
Forum: Minetest Features
Topic: Troublesome luacontroller loop
Replies: 2
Views: 1346

Troublesome luacontroller loop

I'm trying to have one of my outputs send a signal for half a second every 5 seconds or so... this code runs but slowly gets crazier and crazier (as in the port outputs more often, until it overheats... am I missing something fundamental here?) interrupt(0.5, "loop") if mem.count == nil then mem.cou...
by Quackor
Sun Nov 24, 2013 23:12
 
Forum: Minetest Features
Topic: Troublesome luacontroller loop
Replies: 2
Views: 1346

Return to advanced search

cron