Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

Some logic help

Archive: 5 posts


So Im trying to figure out how I would do something. I have 4 Inputs in order lets call them A B C and D. What I want Is if A B and C are on for only A to be. or If B and D are for B so the Or if C and D are on for only C to be on kinda like a priorty type thing haha.

EDIT: If you are wondering its for an upgrade system so If you have upgrade 1 and 3 purchased it would only show up as 3
2011-11-24 03:22:00

Author:
MarkusTheFish
Posts: 8


That's the perfect job for a selector. Wire up your A, B, C and D inputs to inputs #4, #3, #2, and #1 of a selector (yes, in that order). Higher numbered selector inputs have priority, so the output of the highest numbered input will always be on.2011-11-24 04:35:00

Author:
Dr C
Posts: 122


What Dr. C says. However, do note that this priority rule counts for consecutive signals. That means two or more signals arrive at the selector at the same time. If you get a short pulse on input C, then a short pulse on A, C is first selected and then switched abruptly to A.2011-11-24 06:53:00

Author:
Antikris
Posts: 1340


Okay thanks for the help guys! Ill try it real quick and see if it works.2011-11-25 20:26:00

Author:
MarkusTheFish
Posts: 8


I used to be very scared by selectors, now I build everything with them ^^

Once you understand them, it's very useful.
2011-11-26 01:22:00

Author:
Unknown User


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.