rasProject_01 / weSweetHome  R. 77 2025-03-07
process control       /     RasPi software         by   weinert-automation
Loading...
Searching...
No Matches
helloTest.c File Reference

A program to list Raspberry's GPIO register states w/o changing them 76 (26.02.2025) Copyright (c) 2024 Albrecht Weinert weinert-automation.de a-weinert.de. More...

#include <stdio.h>
#include <math.h>

Detailed Description

A program to list Raspberry's GPIO register states w/o changing them 76 (26.02.2025) Copyright (c) 2024 Albrecht Weinert weinert-automation.de a-weinert.de.

This program runs on a Pi with gpio(d). It does no output nor nor changes any GPIO register state. It just lists states caused by other IO programs. Consequently, it will not try to get the conventional gpiod lock.

Compile on Pi by: g++ helloTest.c -o helloTest -lpigpiod_if2

Compile on Windows by: /code make PROGRAM=helloTest TARGET=pi4play clean all make PROGRAM=helloTest TARGET=pi4play FTPuser=sweet:0123 progapp /endcode