LittleBigForum
LittleBigPlanet 3
Help
How do you make a Calculator?
Archive: 3 posts
2015-01-17 21:38:00 / Author: Darthvadre11
I know you need to use binary, but how do I do binary in LBP2, and after Icreate the binary numbers, how do I show it on screen? I found a website showing some of the logic used to make one. http://www.playstationlifestyle.net/2010...ies-are-insane/
|
2015-01-17 21:38:00
Author:Darthvadre11 Posts: 6
|
2015-02-25 15:36:00 / Author: Tynz21
I just saw that no one answered this, likely because the amount of space it would take to fully explain. The basic idea is, (at least how I would do it) to use analog signals that you display through whats essentially a signal probe to do your math. They have in built multiplying and adding feature, subtracting is the same as adding a negative, dividing is the sane as multiplying by the reciprocal. In the beta I had working trigonometry functions that you could apply to signals that I made by Taylor series expansions of the trig functions. I'm not sure how lbp3 handles >100% signals though, so that could affect the way you set it up if you need any decimal adjustment or anything. This is just a broad overview to give you some ideas.
|
2015-02-25 15:36:00
Author:Tynz21 Posts: 89
|
2015-03-05 21:20:00 / Author: Ayneh
Well, the cornerstone of binary arithmetic is the XOR gate which sums 2 bits. Start by looking up adders.
You'd use something like a seven-segment display. The decoder for one is pretty easy to make, it's just 10 (for BCD) or 16 (for full hexadecimal) AND gates, 7 OR gates and 4 NOT gates. |
2015-03-05 21:20:00
Author:Ayneh Posts: 152
|
LittleBigForum Archive Statistics
Posts: 37945 •
Threads: 4847 •
Members: 3878
• Archive-Date: 2019-04-15
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.