The very following line I want to write that count to the LED "l(that's a lowercase L) oreCount slotReader Setting" (load into the oreCount container the value of slotReader's "Setting" variable) You do this because you need to perform some kind of logic against that number and the code won't let you reference the number on the device variable directly. MIPS has different "Registers" or containers you can store stuff in. (think of alias's as AKA's or Also Known As) all it is a label, like your real name is bob, but your alias is Uollie here on reddit. Those are the physical references to the screws in the housing, I gave them aliases to easier identify them. I'm not sure what exactly you do know so I'll go line by line (I apologize if I say anything you already know).Ī logic switch (A physical switch outside the room)Īn LED display (to show me how much ore is left in the furnace to smelt)Ī slot reader (to read the ore count of the import slot of the arc furnace)Ī door (to seal the room for gas capture). Here is my IC Code(I get an error at the second to last line) Is there documentation I'm missing somewhere on this? Any help would be appreciated.Įdit: The "Open" variable is what I was looking for. (it reads it just fine) the wiki (Switch)) isn't helpful/is outdated. What is the variable you'd use to write to a switch to change its status? writing to "Setting" causes an error.
0 Comments
Leave a Reply. |