TI 83/84
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Dev Hardware ForumsSOFTWARETI 83/84
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!

Download and Activate to enter!
Open source technologies have proven to be extremely advantageous to businesses.
This adaptive and highly efficient kind of software is central to the infrastructure of most companies. Since the world of open source technology is constantly changing,
IT professionals need a resource to give them up-to-the-minute information about these enterprise level and open source technologies. Dev Shed is that resource .
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today. .

Download to Enter | Contest Rules

Tutorials | Forums

Tutorials | Forums

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #1  
Old April 21st, 2009, 12:03 PM
Stratus Stratus is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Location: Raleigh, NC
Posts: 11 Stratus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 40 m 42 sec
Reputation Power: 0
Time checking?

So, I want to write a program (TI-84+) that tells me when the next bell is (in school). All it would do is check the time to determine what period it is currently, and display the time of the next bell. However, I don't know how to make a program check the time; I would also like it to check what day of the week it is, because the bells are different on Tuesdays.

So, I just need to know how to get the time, or perhaps store the time as a variable.
Thanks, arigatou, gracias, merci, etc.

Reply With Quote
  Trader Rating: 0 · #2  
Old April 21st, 2009, 03:44 PM
MrLarkins's Avatar
MrLarkins MrLarkins is offline
The HS Math Teacher
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Location: Central Arkansas
Posts: 70 MrLarkins User rank is Corporal (100 - 500 Reputation Level)MrLarkins User rank is Corporal (100 - 500 Reputation Level)MrLarkins User rank is Corporal (100 - 500 Reputation Level)MrLarkins User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 16 m 18 sec
Reputation Power: 6
Send a message via ICQ to MrLarkins
Quote:
Originally Posted by Stratus
So, I want to write a program (TI-84+) that tells me when the next bell is (in school). All it would do is check the time to determine what period it is currently, and display the time of the next bell. However, I don't know how to make a program check the time; I would also like it to check what day of the week it is, because the bells are different on Tuesdays.

So, I just need to know how to get the time, or perhaps store the time as a variable.
Thanks, arigatou, gracias, merci, etc.

use getTime, you can find it in the catalog
getTime returns a list {Hours, Minutes, Seconds}
you can store that to any list. Then use it in your program.
well, being a high school teacher, i thought it was a good challenge.
Code:
:getTime->L1
:L1(1)+L1(2)/60->T
:If T<8.25
:Then
:(8.25-T)*60->X
:Goto 1
:Else
:If T<9.25
:Then
:(9.25-T)*60->X
:Goto 1
:Else
:If T<(10+1/6)
:Then
:((10+1/6)-T)*60->X
:Goto 1
:Else
:If T<(11+5/60)
:Then
:((11+5/60)-T)*60->X
:Goto 1
:Else
:If T<12
:Then
:(12-T)*60->X
:Goto 1
:Else
:If T<(13+25/60)
:Then
:((13+25/60)-T)*60->X
:Goto 1
:Else
:If T<(14+1/3)
:Then
:((14+1/3)-T)*60->X
:Goto 1
:Else
:If T<15.25
:Then
:(15.25-T)*60->X
:Goto 1
:Else
:Disp "Go Home Already!"
:End
:Lbl 1
:Disp X, "Minutes Left"

Yea, you can see that I could have simplified some fractions, done with some parenthesis', and maybe made it shorter. But I am a math teacher, and mathematicians are inherantly LAZY... so sue me. But it works! And that was a fun little project.
Comments on this post
Stratus agrees!
__________________
...................|| MrLarkins.com || ...................

Last edited by MrLarkins : April 21st, 2009 at 04:23 PM.

Reply With Quote
  Trader Rating: 0 · #3  
Old May 18th, 2009, 02:53 PM
jonyboy280 jonyboy280 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 25 jonyboy280 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 8 m 51 sec
Reputation Power: 0
getTime?

where is getTime? i look in the entire catalog and found nothing!
is it because i got a ti-83+? or i need to download it. plz help

Reply With Quote
  Trader Rating: 0 · #4  
Old May 18th, 2009, 04:47 PM
MufinMcFlufin's Avatar
MufinMcFlufin MufinMcFlufin is offline
The Mufinator
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Location: South Eastern USA
Posts: 330 MufinMcFlufin User rank is First Lieutenant (10000 - 20000 Reputation Level)MufinMcFlufin User rank is First Lieutenant (10000 - 20000 Reputation Level)MufinMcFlufin User rank is First Lieutenant (10000 - 20000 Reputation Level)MufinMcFlufin User rank is First Lieutenant (10000 - 20000 Reputation Level)MufinMcFlufin User rank is First Lieutenant (10000 - 20000 Reputation Level)MufinMcFlufin User rank is First Lieutenant (10000 - 20000 Reputation Level)MufinMcFlufin User rank is First Lieutenant (10000 - 20000 Reputation Level)MufinMcFlufin User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Days 3 h 29 m 28 sec
Reputation Power: 113
Quote:
Originally Posted by jonyboy280
where is getTime? i look in the entire catalog and found nothing!
is it because i got a ti-83+? or i need to download it. plz help

That's your problem
the 83 series don't have a clock and therefore don't have time related keys. The 84, 84+, and 84+SE all have clock and timer. Mr Larkins is using a 84 of some sort, and for you, you'd have to first insert the day of the week, and the current time for it to work at all. Also for someone to make this program, you'd have to post the bell schedule, so we can program it in.

Reply With Quote
  Trader Rating: 0 · #5  
Old May 26th, 2009, 12:28 PM
Stratus Stratus is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Location: Raleigh, NC
Posts: 11 Stratus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 40 m 42 sec
Reputation Power: 0
Been gone for a while

thank you very much Mr.Larkins!

Reply With Quote
Reply

Viewing: Dev Hardware ForumsSOFTWARETI 83/84 > Time checking?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
     
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 8 - Follow our Sitemap
LOADING INFUSIONSOFTLOADING INFUSIONSOFT 1debug:overlay status: OFF
overlay not displayed overlay cookie defined: TI_CAMPAIGN_1012_D OVERLAY COOKIE set:
status off