Macros | Functions | Variables
pot_cap_charge.c File Reference
#include <stdio.h>
#include <pigpio.h>
Include dependency graph for pot_cap_charge.c:

Go to the source code of this file.

Macros

#define GPIO   25
 
#define MAX_READING   1000
 

Functions

void callback (int gpio, int level, uint32_t tick)
 
int main (int argc, char *argv[])
 

Variables

static uint32_t rechargeTick = 0
 

Macro Definition Documentation

◆ GPIO

#define GPIO   25

Definition at line 22 of file pot_cap_charge.c.

◆ MAX_READING

#define MAX_READING   1000

Definition at line 24 of file pot_cap_charge.c.

Function Documentation

◆ callback()

void callback ( int  gpio,
int  level,
uint32_t  tick 
)

Definition at line 28 of file pot_cap_charge.c.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 65 of file pot_cap_charge.c.

Variable Documentation

◆ rechargeTick

uint32_t rechargeTick = 0
static

Definition at line 26 of file pot_cap_charge.c.



cob_hand_bridge
Author(s): Mathias Lüdtke
autogenerated on Tue Aug 2 2022 02:13:56