I just tried it, but the Arduino IDE crashed, I hope its not related. I want to declare a datatype like this:
int a = pinMode(pin, OUTPUT);
or something like that, but I'm not sure what datatype the
pinMode function uses. I looked on the pinMode documentation page, of the Arduino website, and I see basic usage, but not a more clear definition of the source code for that function.