[En-Nut-Discussion] Ethernut 5 - Linux/NutOS Counter

Harald Kipp harald.kipp at egnite.de
Tue Jun 28 11:06:04 CEST 2011


Hi Hog,

On 6/23/2011 3:53 PM, Mirjam Duske wrote:
> I just want to know if it is possible to have a counter in Linux checking for impulses on a port.
> The data I am getting are pulses from a relay. each pulse is a "1". I want to be able to count these and then calculate the used electricity.
> Each pulse means 0.5wh

Is this an S0 interface?

http://de.wikipedia.org/wiki/S0-Schnittstelle
(only available on German Wiki)

Just curious, because I recently purchased an

http://www.findernet.com/en/products/profiles.php?serie=7E&lang=en

and want to create an API for this.

Regards,

Harald



More information about the En-Nut-Discussion mailing list