IPhone : Use Ondevicemotion to submit data

on Friday, March 27, 2015

HI guys i have a form that submits data to php when press the submit button however i am now trying to use the event listener such as the ondevicemotion to do this when i tilt in a specific direction. Could any one suggest how i would go about doing something like this. picar IP:



picar Port: <input type="text" size="5" name="port" value="7"><br><br>
<input type="submit" name="straight" value="Straight">

<input type="submit" name="brake" value="Brake"> <br><br>



<input type="submit" name="increment" value="Faster"> <br><br>
<input type="submit" name="left" value="Left">

<input type="submit" name="right" value="Right"> <br><br>



<input type="submit" name="decrement" value="Slower"> <br><br>
<input type="submit" name="full_speed" value="Full Speed">
</form>

0 comments:

Post a Comment