libpruio  0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
c_examples Directory Reference

Files

file  1.c [code]
 Example: minimal code for ADC input.
 
file  button.c [code]
 Example: get state of a button.
 
file  button2.c [code]
 Example: get state of a button.
 
file  io_input.c [code]
 Example: print digital and analog inputs.
 
file  performance.c [code]
 Example: test execution speed of several methods to toggle a GPIO pin.
 
file  pruss_add.c [code]
 Example: minimal code for PRUSS firmware.
 
file  pruss_toggle.c [code]
 Example: PRUSS GPIO toggling measured speed.
 
file  pwm_cap.c [code]
 Example: PWM output and CAP input.
 
file  qep.c [code]
 Example: PWM output and CAP input.
 
file  rb_file.c [code]
 Example: fetch ADC samples in a ring buffer and save to file.
 
file  sos.c [code]
 Example: blink user LED 3.
 
file  stepper.c [code]
 Example: control a stepper motor.