Simple and Quick Calculator Project
SRLM
Posts: 5,045
One of my math classes had a test recently, and the Professor only allowed "simple" calculators. I forgot all about that particular requirement, and was planning on taking my TI-89 until the test day rolls around and I was reminded. So I rushed out this little application in half an hour that does simple integer math (+,-,*,/,^). I think it shows the power of the Propeller that I was able to build this system so quickly and easily, and that it works the way it's supposed to. Another 15 minutes today (after the test) made the output and input a little nicer and more efficient.
The system has a keyboard and a LCD tv screen taped to a demo board and a 7.2V NiMH RC car battery. It uses the standard library objects for those, plus FDXP for the strToDec routine.
In the end there weren't any numbers on the test that would have required a calculator, so I didn't get to use it. Also, apparently a simple calculator doesn't have a full QWERTY keyboard or a multi-line display. I took comfort, though, in the fact that the Propeller was always ready and able to do the job.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
The system has a keyboard and a LCD tv screen taped to a demo board and a 7.2V NiMH RC car battery. It uses the standard library objects for those, plus FDXP for the strToDec routine.
In the end there weren't any numbers on the test that would have required a calculator, so I didn't get to use it. Also, apparently a simple calculator doesn't have a full QWERTY keyboard or a multi-line display. I took comfort, though, in the fact that the Propeller was always ready and able to do the job.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
Comments
Old school is fun.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
You must have drawn a little attention. Surely you found a way to tout your solution while in the lime-light.
How did you have room for your exam (blue-book, scantron, etc..) with all that on your desk?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Short answers? Not available at this time since I think you deserve more information than you requested.
Pi to 100 places !
3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825 3421170679
in the Life application for the propeller?
http://www.piday.org/million.php
Have not tried it yet.
Maybe something to put on my to do list...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm