Does anybody knows how to search (Github) for source code for this API?
All I am getting is sample usage of pinMode and no source code reference.
What is the magic search word to use?
Thanks
In case you wonder why - I need to convert pin number to PIOx register bit position.
Thanks, but how did you know how to find it in source code ?
I need to look it up for ARM , so that is why am I asking how you did it.
I have not tried to search for it yest, just asking.
Found it under SAM, and for my next trick I need to find
g_APinDescription.
Delta_G:
You can search the contents of the Arduino\hardware\arduino folder where you installed the IDE to find the line in the code. From there, if you want ot see it on github then just find the same file.
My " problem" I have several versions of Arduino IDE and the code in Github is most reliable anyway.
The "funny"part is on Github I always find the usage of the function I am looking for first and the actual definition is always last.