Hi,
I have the Freematics ONE+ Model A and I am trying without success to use GPIO 32/33 via molex enclosure purchased on the site. How do I declare those pins in the code to work as digital output? Is it necessary to power the module via OBD port in order to use the VCC 5V pin? If somebody can please show me an example of code on how to properly use those pins it will be very helpful.
Thanks in advance
MG
ONE+ Model A external sensors
Re: ONE+ Model A external sensors
If you use Arduino framework, simply:
Code: Select all
pinMode(32, OUTPUT);
pinMode(33, OUTPUT);
digitalWrite(32, HIGH);
digitalWrite(323, HIGH);
Re: ONE+ Model A external sensors
Yes, I am indeed working with Arduino framework and this is the first thing I've tried. It doesn't work. I am powering the Freematics via USB cable because I don't have a vehicle available right now, could be this the issue? I am also not able to use the VCC pin to directly power a LED for example. I've tested the cable with the multimeter and it's working fine, I really don't know which can be the problem. Thank you in advance
MG
MG