Commit Graph

40 Commits

Author SHA1 Message Date
Kyle
9cfb13d60c pressing enter will reprogram the µC instead of acting like escape 2012-08-24 20:59:26 -07:00
khonkhortisan
68b99fed76 display µc programming like a sign
I had a grid that mapped buttons to pixels so pressing a button displayed a letter. I had one programming that was a positive match so the pixel turned on, and another programming that was negative and just passed the signal on to the next pixel. If I had to right-click on each µc to see its programming, it would take me longer to find a problem. If I can see the programming just by looking at it, I could find a typo much easier.
I'm not sure about the \n \n\r thing.
2012-08-21 10:35:34 -07:00
Jeija
b2c5a672e7 Remove obsolete digprop_constanttime 2012-08-20 09:51:19 +02:00
Jeija
c103aa6b23 Fix some bug that occurs when placing microcontrollers directly next to each other 2012-08-18 11:06:24 +02:00
Jeija
b346d89594 Update microcontroller tutorial to include after() 2012-08-13 23:33:53 +02:00
Jeija
67dfa93c2e Finish after() command: works now 2012-08-13 23:20:29 +02:00
Jeija
5ede8f370c Bugfix for microcontroller's after(): Make sure that microcontroller the code runs on is the same that sends the code 2012-08-13 22:55:14 +02:00
Jeija
9f16e4fcaa Add not-yet-working after(time, code) function to the microcontroller 2012-08-13 22:33:25 +02:00
Jeija
00ce2540c2 New effector system, effectors have to be registered with mesecon:register_effector(onstate, offstate, rules, function get_rules) rules and function get_rules are optional. You don't have to specify both onstate and offstate (required for e.g. removestone) 2012-08-13 20:17:45 +02:00
Jeija
3ea68a6eae Fix mesecon delayer bugs and other non-functional changes 2012-08-12 21:28:53 +02:00
Jeija
9829abc74d HUGE speed improvement 2012-08-12 10:57:00 +02:00
Vanessa Ezekowitz
5d1c184941 thinned the microcontroller down a bit to fit the style of the other floor objects. 2012-08-11 21:04:05 -04:00
Vanessa Ezekowitz
e12b297987 change all recipes to use group:mesecon_conductor_craftable
fixed deprecated/invalid recipes in lightstones.

fixed copy&paste error in one of the delayer textures

fixed recipe for player detector to rely on microcontroller instead of old IC
2012-08-11 20:53:47 -04:00
Jeija
1f6e1fa7ab Mesecons only connect to blocks with group mesecon > 1 2012-08-11 23:39:28 +02:00
Vanessa Ezekowitz
39db9cf01c Added "mesecon = 1" to the groups setting for most objects, so that they'll
visibly connect to neighboring wires.
2012-08-10 17:35:54 -04:00
Jeija
32fba63267 Update Microcontroller Tutorial 2012-08-10 20:58:39 +02:00
Jeija
fe6c9f3e09 Little bugfix: Register microcontroller0000 as off receptor 2012-08-10 11:46:17 +02:00
Jeija
ce72ed2bab Add print command print(string in quotes or condition, can be concatenated using comma) 2012-08-10 10:47:40 +02:00
Jeija
6a524b8cdd Add else: if(condition)command()>command(); > is else 2012-08-10 10:19:33 +02:00
Jeija
0633809f73 Allow usage of sbi(PORT, condition) and change preset snippets to use this 2012-08-10 09:44:49 +02:00
Jeija
9fa033db7b Remove dead timer 2012-08-10 08:23:55 +02:00
Jeija
d3ba13e878 Update Tutorial 2012-08-10 00:39:16 +02:00
Jeija
ce928a5954 Little bugfix for programming the microcontroller 2012-08-09 23:09:02 +02:00
Jeija
af3288f61d Add buttons for logic gates and some FlipFlops 2012-08-09 22:39:54 +02:00
Jeija
f557b6c363 Add overheat protection and lots of bugfixes once again 2012-08-09 21:40:25 +02:00
Jeija
0abfa674d6 A huge lot of bugfixes 2012-08-09 16:25:30 +02:00
Jeija
9854160ece Bugfix for last push 2012-08-09 13:34:10 +02:00
Jeija
ca4a8cd264 Use all of VanessaE's textures, bugfixes & improvements 2012-08-09 12:54:31 +02:00
Vanessa Ezekowitz
2e99d234c9 new textures and nodeboxes for mesecons microcontroller 2012-08-09 04:13:05 -04:00
Jeija
331ae1a13c Remove stupid debug output 2012-08-09 09:05:00 +02:00
Jeija
5fe294a5fa Define second parameter of sbi as condition 2012-08-09 09:03:22 +02:00
Jeija
72b00178f9 Enable commentaries in the Microcontroller by using :commentary 2012-08-09 08:27:47 +02:00
Jeija
89edd2ce63 Bugfixes for microcontroller and use #addr instead of <addr> 2012-08-09 08:06:23 +02:00
Jeija
2d94a08d2e Add an EEPROM to the Microcontroller 2012-08-08 23:35:36 +02:00
Jeija
f701dad739 Fix a bug in long conditions 2012-08-08 20:13:07 +02:00
Jeija
0ee661d25d Fix a bug in long conditions 2012-08-08 19:40:39 +02:00
Jeija
da6cccf332 Add a untested wrong-spelled bad tutorial for the microcontroller 2012-08-08 15:42:52 +02:00
Jeija
0d6749a264 Fix = operator 2012-08-08 15:33:34 +02:00
Jeija
e3d2b07cd5 Important bugfix for if 2012-08-08 15:09:05 +02:00
Jeija
ef740353ef Add first experimental version of a (programmable) microcontroller 2012-08-08 13:26:32 +02:00