As many of you know, most Texas Instruments (TI) calculators support programming in a language called "TI-BASIC", which can be used to write and run programs on the calculator. Like Scratch, it is an interpreted language, rather than a compiled language (C, C++, C#, Visual Basic, Java, Objective-C, and most others). TI-BASIC also has performance limitations because it is interpreted, and therefore is not suitable for complex or high-performance programs.
This year, my school required that I upgrade from a TI-84 to a TI-89 for my math class. I found a piece of software (an IDE and compiler) that allows you to write programs in C on a computer, compile them, and download them to a TI-89 series calculator. The programs run incredibly fast, even on a 15 MHz calculator processor (to give you an idea, most modern computer processors run at 1 - 3 GHz = 1000 - 3000 MHz). Unfortunately, I don't know of a similar compiler software for TI-84, although I'm sure something exists if you look around.
Anyway, if anyone is interested in learning C for writing calculator applications, you can find the website here. I would recommend following the instructions for installation on the first tutorial (Lesson 1: A Classic "Hello World" Example) of this site. Be aware that you need to have GTK+ installed before you can use TiEmu if you intend to debug programs on your computer, which is advised, since it is very easy to crash the calculator.
Anyway, I hope this is helpful. We can also discuss TI-BASIC programming here, since I've been working and programming on a TI-84 for 3 years now and I'm pretty comfortable with the language.
Last edited by amcerbu (2012-08-28 21:53:52)
Offline
amcerbu wrote:
As many of you know, most Texas Instruments (TI) calculators support programming in a language called "TI-BASIC", which can be used to write and run programs on the calculator. Like Scratch, it is an interpreted language, rather than a compiled language (C, C++, C#, Visual Basic, Java, Objective-C, and most others). TI-BASIC also has performance limitations because it is interpreted, and therefore is not suitable for complex or high-performance programs.
This year, my school required that I upgrade from a TI-84 to a TI-89 for my math class. I found a piece of software (an IDE and compiler) that allows you to write programs in C on a computer, compile them, and download them to a TI-89 series calculator. The programs run incredibly fast, even on a 15 MHz calculator processor (to give you an idea, most modern computer processors run at 1 - 3 GHz = 1000 - 3000 MHz). Unfortunately, I don't know of a similar compiler software for TI-84, although I'm sure something exists if you look around.
Anyway, if anyone is interested in learning C for writing calculator applications, you can find the website here.. I would recommend following the instructions for installation on the first tutorial (Lesson 1: A Classic "Hello World" Example) of this site. Be aware that you need to have GTK+ installed before you can use TiEmu if you intend to debug programs on your computer, which is advised, since it is very easy to crash the calculator.
Anyway, I hope this is helpful. We can also discuss TI-BASIC programming here, since I've been working and programming on a TI-84 for 3 years now and I'm pretty comfortable with the language.
Awesome! I literally just received a TI-84 (blue one) for my seventh grade honors class in my private school. TI-89's are pretty advanced....why is your school letting you upgrade? TI-84's are the highest edition you can use in the SAT and most math tests......the TI-89's would do most of the work for you!
Offline
@birdybyte : Not really.
I got my first "real" programming experience in TI-BASIC, but it takes too long to search through all the functions to program it without a real text editor on a computer.
Offline
Firedrake969 wrote:
Does the TI nspire cx allow programming?
It should.
Also, I wonder if it is considered "legal" to have TI-BASIC macros programmed to automatically calculate things like the Pythagorean theorem or other more complex formulas. It is technically doing the work for you but you made it.
Offline
16Skittles wrote:
Firedrake969 wrote:
Does the TI nspire cx allow programming?
It should.
Also, I wonder if it is considered "legal" to have TI-BASIC macros programmed to automatically calculate things like the Pythagorean theorem or other more complex formulas. It is technically doing the work for you but you made it.
How do I get to it?
Offline
16Skittles wrote:
Firedrake969 wrote:
Does the TI nspire cx allow programming?
It should.
Also, I wonder if it is considered "legal" to have TI-BASIC macros programmed to automatically calculate things like the Pythagorean theorem or other more complex formulas. It is technically doing the work for you but you made it.
Well who is ever going to find out?
It would be pretty easy to put that together.
Offline
@Meapinator101 - Actually, TI-89s are allowed on the SAT, just not the ACT. My school required that I get an 84 in 7th grade (and I still have the calculator), but I'm in 11th grade this year.
@16Skittles - For some things -- like math competitions -- you're not allowed to use programs you've written on the calculator. If you write some cool programs, show them to your teacher; I'm sure they'd be interested.
@Firedrake969 - Unfortunately, TI-BASIC on the Nspire is very limited [EDIT: not as much as I thought, you should really check it out], and you can only install outside apps (assembly or C) by jailbreaking the calculator - which I wouldn't recommend. If you're interested, however, perhaps this link could point you in the right direction.
For everyone: Here is a fairly good programming reference for TI-BASIC on the TI-84.
Last edited by amcerbu (2012-08-26 15:19:27)
Offline
Heck, the N-Spire has Lua? That's a real scripting language, not just some proprietary system like TI-BASIC.
Offline
I loved programming my TI84 before I got Scratch and VB. I still do when I don't have my computer Ackermann function and 3D grapher are some of the things I've made.
Offline
I got my brother's old TI-83 for Geometry this year so I have like every program I need already put on it by him while the other kids don't know how to yet.
Offline
Yeah, the TI-83 and TI-84 are practically the same calculator, except for a few minor hardware and operating system differences. You can write some versatile programs on there, regardless of the super-slow processing speed. I made Snake for TI-84 a while back.
Offline
amcerbu wrote:
Yeah, the TI-83 and TI-84 are practically the same calculator, except for a few minor hardware and operating system differences. You can write some versatile programs on there, regardless of the super-slow processing speed. I made Snake for TI-84 a while back.
TI-83 doesn't have a clock though. I think I estimated that a
:For(A,1,26) :End
Takes ~1 second on the 83 though.
Last edited by Molybdenum (2012-08-26 17:29:33)
Offline
amcerbu wrote:
Yeah, the TI-83 and TI-84 are practically the same calculator, except for a few minor hardware and operating system differences. You can write some versatile programs on there, regardless of the super-slow processing speed. I made Snake for TI-84 a while back.
Snake? I seem to recall my attempts always turning out too slow to be playable, so nice job! Programming those always kept me busy while bored out of my mind in class. I even made an analog clock and a course schedule program to keep track of time and tell me exactly how much time was left in the period. Unfortunately, most of those have since fallen victim to accidental RAM wipes and end-of-school returns. (My school issues us TI-84/89's for our classes.)
Offline
The Snake program used parallel lists to store X/Y values for the body. During every frame, the program would erase the last block in the snake and draw a new one in front of his head. I managed to get collision detection (with the snake's body) to work using the "getPixel" command. I don't remember exactly how it worked, but it ran at a fairly good framerate.
Offline
I have my brother's TI-84 at home, but at school, the most I can do when bored is make the most advanced Press = to increase your score games. (hey, I even made a technique for saving your score to the calculator's memory.).
Oh, and trick classmates into pressing M+ so I can make it seem like I can read their mind when they enter a number into the calculator, then clear the screen.
Offline
I still remember the good old 0.1134 trick (where you turn the calculator upside down) from when I was in 2nd grade. But graphing calculators really are amazingly powerful machines; they're basically small computers. Much of my programming experience came out of writing programs for the 84. Now that I've got an 89, I can write C programs, which are many times more powerful than anything else I've written for a calculator.
Offline