/trunk/projects/input_to_output/input_to_output.c |
---|
33,7 → 33,7 |
digital_io__pin_position_t output = DIGITAL_IO__PORT_B | DIGITAL_IO__PIN_5; |
digital_io__configure_pin(output, DIGITAL_IO__DIRECTION__OUTPUT); |
while (1) |
for (;;) |
{ |
// Get input level on PB4. |
digital_io__level_t level = digital_io__get_pin_level(input); |