Author Topic: Etch-A-Sketch project: Completed  (Read 16935 times)

0 Members and 4 Guests are viewing this topic.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Project... i'll need help
« Reply #15 on: June 11, 2010, 09:06:11 pm »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Project... i'll need help
« Reply #16 on: June 12, 2010, 02:06:15 pm »
chances are i'll be finished with the hardwere part of this today!
so is there any way i can have a piece of coding that checks if there is anything in the i/o
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Project... i'll need help
« Reply #17 on: June 12, 2010, 02:08:08 pm »
mhmm glad you could get some help ^^

Hopefully someone posts the hex code to do it soon

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Project... i'll need help
« Reply #18 on: June 12, 2010, 02:12:03 pm »
hopefully.
i am doing a spring method with a pin in the center
it shakes it touches. the circuit is closed for a second.
this is where i need the code.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Project... i'll need help
« Reply #19 on: June 12, 2010, 02:22:21 pm »
In Axe, you can use this code:

Asm(DB00E6036F2600)

It returns a number 0-3.  I don't remember the codes, but the possibilities are left high right high, left low right high, left high right low, and left low right low.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Project... i'll need help
« Reply #20 on: June 12, 2010, 02:24:38 pm »
i don't understand?

high and low left and right?
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Project... i'll need help
« Reply #21 on: June 12, 2010, 02:29:39 pm »
There are 3 pins (wires) to the cable.  One is ground.  The other 2 are input.  If the input cables are not connected to anything, just dangling wires, then they are "high".  But if they touch the ground wire, they become "low".
« Last Edit: June 12, 2010, 02:30:40 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Project... i'll need help
« Reply #22 on: June 12, 2010, 02:30:43 pm »
thanks... i think.... i think i understand
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Project... i'll need help
« Reply #23 on: June 12, 2010, 02:36:56 pm »
Just play around with touching different wires together and see how it affects this code:

Code: [Select]
Repeat getkey(15)
ClrHome
Disp Asm(DB00E6036F2600)>Dec
Pause 100
End
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Project... i'll need help
« Reply #24 on: June 12, 2010, 03:43:21 pm »
nearly finished with physical part
might have it done today
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Project... i'll need help
« Reply #25 on: June 12, 2010, 04:34:44 pm »
finished!

now just the prog.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Project... i'll need help
« Reply #26 on: June 12, 2010, 04:36:42 pm »
Nice code Quigibo!  Can you post the source for that Asm code?  Thanks! :D

DB00E6036F2600
(I'd like to see the source to this.)  Thank you! ;D

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Project... i'll need help
« Reply #27 on: June 12, 2010, 04:48:11 pm »
working!


holy arf canoodles.

this is amazing
3 = no connection
but i can get a 2!
« Last Edit: June 12, 2010, 04:52:09 pm by happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Project... i'll need help
« Reply #28 on: June 12, 2010, 05:05:51 pm »
i need your help

i finished the program implementing the shake detection onto the etch-e-sketch
its not realistic enough for me

how can i do the basic command  "randint(1,95) sto A"  into axe?
that would be the x axis
i want it to find 20 random locations and have pxl-off or point off, whichever, to clear the screen having more shaking
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Project... i'll need help
« Reply #29 on: June 12, 2010, 05:16:12 pm »
Reading the link port in assembly is simply this:

Code: [Select]
in a,(0)
and 3

Result 0-3 is in A.  The rest of the hex is just to put it into HL for axe input.

___Axe_Parser___
Today the calculator, tomorrow the world!