1 (true) corresponds to pins connected while 0 (false) corresponds to an open connection between the pins.
What ports can I use it on?
All of them!
Code
var pathState = digital.state;
using Magic;
public class Demo : MonoBehaviour
{
// create a reference to the module
public Magic.Modules.DigitalModule digital;
void Start()
{
}
void Update()
{
// access the property of the module
bool pathState = digital.state;
}
}