![]() |
programming the pneumatics
if anyone can helpme program tne pneumatics, that'll be e lot of help. i got no clue
|
Re: programming the pneumatics
I can't help you if you're using EasyC, but if you're using Microchip's toolchain, you can program spikes to operate a solenoid and thus control airflow to your cylinders through the relayX global aliases.
For example: Code:
if(p1_sw_trig) { /* port 1 joystick trigger is depressed */ |
Re: programming the pneumatics
In MPLab (all i know), the relays are controlled by default fairly well. here's the code from default:
Code:
relay1_fwd = p1_sw_trig & rc_dig_in01; /* FWD only if switch1 is not closed. */relay 5: Joy 1 top buttons relay 6: Joy 3 top buttons relay 7: joy 4 top buttons here's the nice one: relay 8: opposite of 18th input. Basically, the last one is for the pneumatics. put a pressure switch on the 18 digital input, and the compressor will run automatically! Isn't technology amazing? |
| All times are GMT -5. The time now is 04:48. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi