Skip to content

Commit

Permalink
#374 edu_ciaa_nxp.oil incorpora TECLA1 ... TECLA4
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanManuelCruz committed Jan 17, 2016
1 parent 0761746 commit fe50dae
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions examples/hisio_example/etc/edu-ciaa-nxp.oil
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,29 @@ DIL DIL {
INVERTED = TRUE;
}

PIN TECLA1 {

This comment has been minimized.

Copy link
@mcerdeiro

mcerdeiro Jan 17, 2016

Contributor

habria que llamarlas en ingles KEY1 a KEY4 no te parece?

PORT = 1;
PIN = 0;
DIRECTION = IO_INPUT;
INVERTED = FALSE;
}
PIN TECLA2 {
PORT = 1;
PIN = 1;
DIRECTION = IO_INPUT;
INVERTED = FALSE;
}
PIN TECLA3 {
PORT = 1;
PIN = 2;
DIRECTION = IO_INPUT;
INVERTED = FALSE;
}
PIN TECLA4 {
PORT = 1;
PIN = 6;
DIRECTION = IO_INPUT;
INVERTED = FALSE;
}
}
};

2 comments on commit fe50dae

@JuanManuelCruz
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Se puede cambiar pero el problema es que en la documentación de la EDU-CIAA-NXP y en las 2K placas fabricadas/entregadas figuran como TECLAx.

En realidad son pulsadores, tal vez convendría llamarlos PBS (push button switch) para diferenciarlo de las llaves de dos posiciones (on off switch o toggle switch). ¿?

@mcerdeiro
Copy link
Contributor

@mcerdeiro mcerdeiro commented on fe50dae Jan 18, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.