Author Topic: Time/homescreen on nspire CX  (Read 3667 times)

0 Members and 1 Guest are viewing this topic.

Offline Aequilipse

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 9
  • Rating: +0/-0
    • View Profile
Time/homescreen on nspire CX
« on: November 02, 2011, 06:09:12 pm »
Is there a clock or any lua codes to make one? And is there customizable home screens? Thanks!

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Time/homescreen on nspire CX
« Reply #1 on: November 02, 2011, 06:22:45 pm »
Not for now since there is no real way without using ndless to access the RTC (clock)...

You can however program a [relative] clock using timer.getMilliSecCounter() and asking the user for a starting time...


And no, no customizable homescreen for now (maybe with Ndless3, we'll see..)
« Last Edit: November 02, 2011, 06:23:38 pm by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Time/homescreen on nspire CX
« Reply #2 on: November 02, 2011, 06:33:39 pm »
timer.getMilliSecCounter() returns the seconds since last boot, so you just need to store the begin time in a var and it will always be correct.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Time/homescreen on nspire CX
« Reply #3 on: November 03, 2011, 05:04:37 am »
But setting up the clock after each reboot would be a pain for the user.
Ndless.me with the finest TI-Nspire programs

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Time/homescreen on nspire CX
« Reply #4 on: November 03, 2011, 06:20:50 am »
Yeah, thats true.