Author: Not specified Language: c
Description: Not specified Timestamp: 2017-09-13 03:57:02 +0000
View raw paste Reply
  1. #define BIT(X) (1<<X)
  2. scanf("%d", &shifter_cnt);
  3. printf("SHIFTED %d\n", LED_function(shifter_cnt));
  4.  
  5. char LED_function(int input) {
  6.         return BIT(input);
  7. }
View raw paste Reply