This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Alexander0507's profile picture

Mining Turtle

Started by Alexander0507, 27 October 2013 - 05:21 PM
Alexander0507 #1
Posted 27 October 2013 - 06:21 PM
I wanted to do a little mining program.
So i wanted the turtle to dig down which is no problem but i want it to build tunnels at some y-levels.
so my question is, is there a easier way to get the y coordinate than gps.locate ? And when not how does the gps.locate command work ?

Thx for help
Kingdaro #2
Posted 27 October 2013 - 06:41 PM
You could just enter the Y coordinate manually. A lot of turtle programs I know of (including some I've coded myself) do that.
Alexander0507 #3
Posted 27 October 2013 - 06:55 PM
But i want to set up kind of an automated mining
How should i enter the coordinate manually ?
campicus #4
Posted 27 October 2013 - 07:00 PM
Other than entering it manually, this is how GPS works.

http://www.computercraft.info/forums2/index.php?/topic/3088-how-to-guide-gps-global-position-system/

http://computercraft.info/wiki/Gps_(API)
Alexander0507 #5
Posted 28 October 2013 - 04:11 PM
How can i set the reaction for the chat commands in open periphals ( $$ ) in my program ?