X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Ftriface%2Fhw%2Fhw_sipo.h;fp=examples%2Ftriface%2Fhw%2Fhw_sipo.h;h=70136b529d539886806d161ebb37be9db5155d14;hb=8899100e4654853ec4fb64d02ab165f2650a4535;hp=d2cfde750633f489aa610ed06bfc7693b68affa6;hpb=cb1e0e932dd0bd84edb51dafe4377ff4d3545514;p=bertos.git diff --git a/examples/triface/hw/hw_sipo.h b/examples/triface/hw/hw_sipo.h index d2cfde75..70136b52 100644 --- a/examples/triface/hw/hw_sipo.h +++ b/examples/triface/hw/hw_sipo.h @@ -47,9 +47,9 @@ #include //Set output pin for sipo -#define SCK_OUT (DDRB |= BV(PB1)) // Load clock pin -#define SOUT_OUT (DDRB |= BV(PB2)) // Serial in pin -#define SLOAD_OUT (DDRB |= BV(PB3)) // Store clock pin +#define SCK_OUT (DDRB |= BV(PB1)) // Shift register clock input pin +#define SOUT_OUT (DDRB |= BV(PB2)) // Serial data input pin +#define SLOAD_OUT (DDRB |= BV(PB3)) // Storage register clock input pin #define OE_OUT (DDRG |= BV(PG3)) // Output enable pin //Define output level