Add them all together and divide by four.Please remember to use code tags when posting code
That is because of the MCU differing architectures.You need to find a library that is SPECIFIC to the EVERY.
Yeah I know that, it's been causing some issues with libraries, some I can do without but some I kinda need. AFAIK the NewPing library is the only one that supports running the HC-SR04 sensor using just one wire. I might have enough pins to do it the old fashioned way if that's the only choice. HC-SR04
// Detect non-AVR microcontrollers (Teensy 3.x, Arduino DUE, etc.) and don't use port registers or timer interrupts as required. #if (defined (__arm__) && (defined (TEENSYDUINO) || defined (PARTICLE)))All you need to do is let me know what is defined to identify the EVERY. Maybe it's "EVERY"? Maybe "__EVERY__" I have no idea. Then, submitted to me to be added to a pull request.