Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
Timed Resettable Toggle LBP2 Logic
Archive: 6 posts
I'm trying to make a timed resettable toggle for a level I'm working on. I have a 5 digit LCD number display that I'm using for a number passcode system and I'm trying to make a blinking cursor to show where your next number is going to go. So, it needs to blink the bottom bar of the LCD and then reset to off when a number is selected or the display is cleared. I have one made but sometimes it glitches and freezes to 'on'. I've include a pic of the logic stuck in the on position below. The game is NOT paused. It only gets to this state if it is turned off at a very precise moment (seems to be right as the timer is full). It will reset itself automatically once the input is turned back on. The tag sensor and the tag have different labels so the tag doesn't activate this tag sensor (I'm using wireless for most of my logic). Any help would be greatly appreciated. http://i3.lbp.me/img/ft/1b37f1b2bdd8c514a614181e3d6db825dcf71fa0.jpg | 2011-02-27 21:14:00 Author: Unknown User |
First of all, tag sensors don't detect tags that are on their same chip; about your problem, just connect the output of the timer to the timer's reset input, and eventually use an OR gate on the reset input so that the timer also resets every time you send it the ON signal | 2011-02-27 23:07:00 Author: Shadowheaven Posts: 378 |
That's basically what I have, if I'm understanding you correctly. The timer reset comes from the OR the timer is connected to. So, every time the timer gets to it's target time it sends a signal to the OR which then sends the signal to the timer reset and to the toggle. I had the timer set directly to it's own reset like you suggested but the same thing happens. If the main input (the tag sensor, which is triggered remotely) turns off right as the timer reaches it's target time the timer resets but the rest of the logic freezes all on except for the main input (tag sensor) and the timer. My PSN is the same as my screen name here. if you want I could show you what I mean in game. It's hard to see in a still picture. Edit: Thanks for the help by the way. Ok. Changed the timer reset around and uploaded a better photo. The problem continues and I can make it happen pretty consistently. | 2011-02-28 00:02:00 Author: Unknown User |
The problem you are encountering is that when the timer sets the cursor as the key is turned off, it then tries to send another pulse to clear it, but because there is no "off" time between the two, the "edge triggered" toggle is not switched off. What you want is a level triggered disable circuit rather than an edge triggered one. A selector does nicely; it has an edge triggered input (Cycle) for the timer to toggle, and a level triggered input for the NOT to disable directly. Simply hook the NOT from the key t one input of the selector, and the magnetic key output from the other output. Hook the timer up to the cycle input, and you can ditch your AND and OR gate. | 2011-02-28 06:23:00 Author: Tygers Posts: 114 |
Awesome. Thanks Tygers. That does exactly what I need... and with fewer parts too. Never occurred to me to use a selector that way. Here's a pic of the of the new logic so others can see the solution too. http://ie.lbp.me/img/ft/5be3158f5b77c321d4b608eb3e2c827fc12dccb5.jpg | 2011-03-01 01:30:00 Author: Unknown User |
Read this and I think if I modify it, it might work for what im trying to do. Thanks | 2011-11-09 17:28:00 Author: L-I-M-I Posts: 611 |
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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.