This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-------------------------------------------------- | |
CPU Evaluation Code | |
作成者:鷺ノ宮わっふる | |
作成日:18/02/15 | |
--------------------------------------------------*/ | |
/*-------------------------------------------------- | |
グローバル変数(Arduinoピン定義) | |
--------------------------------------------------*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ALU Evaluation program | |
Read digital inputs, prints the result to the serial monitor | |
*/ | |
// digital pin name: | |
const int ID1 = 2; | |
const int ID2 = 3; | |
const int ID3 = 4; | |
const int ID4 = 5; |