Can Analog Pins be used as Digital Pins?

I am working on a project that needs more than the 8 Digital Pins included in the Particle Photon and I would like to know if it is possible to use the Analog Pins as Conventional Digital Pins

Yes, you can use all of the analog pins as digital pins.

1 Like

so lets say i want to digital Read the Value of an Analog pin, I just call the function and place A0 instead of 1,2,3


Actually, it would be better not to ever use 1, 2, or 3; it will work, but it’s better to be explicit, and use D1, D2, or D3.