Want to create a Gist from your editor, the command line, or the Services menu? Here's how.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
P1 -> propeller(:motor) | |
P2 -> led | |
P3, P4 <-> xbee(:serial) | |
P6 <- button(:button) | |
P7 <- thermometer(:analog) | |
when button.pushed | |
led.off | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class interact_boulder : MonoBehaviour { | |
public GUISkin boxText; | |
public bool showBox; | |
public float GUIScreenWidth = Screen.width/2; | |
public float GUIScreenHeight = Screen.height/2; | |
public float GUIScreenToolWidth = Screen.width - 5; |
NewerOlder