Project

General

Profile

Revision a75b176a

IDa75b176a4369784e965df2ac0783ac839914df01
Parent 5f7a1707
Child a692ef82

Added by Aaron Perley about 10 years ago

Debug pin test

View differences:

scout_avr/bom/bom.c
32 32
static void bom_init(void) {
33 33

  
34 34
  SET_BIT(DDRB, EMIT);
35
  SET_BIT(DDRB, PB1);
35 36

  
36 37
  init_detect();
37 38

  
......
83 84
ISR(TIMER0_COMPA_vect) {
84 85

  
85 86
  char this_bit = READ_BIT(PINB, DETECT);
87
  SET_BIT(PINB, PB1); // TOGGLE THE PIN MOFOS
86 88
  smb_send_data((uint8_t*)&this_bit, 1);
87 89

  
88 90
  if (this_bit == 1) {

Also available in: Unified diff