Skip to content

Commit

Permalink
Update testGUI.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pe2a committed Sep 6, 2018
1 parent 0581c0d commit 5df9417
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions testGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@
import time
import spidev

#ssh ip 192.168.1.23
#https://stackoverflow.com/questions/30813370/how-can-i-enable-x-11-forwarding-in-pycharm-when-connecting-to-vagrant-or-a-rem/32945380#32945380

#INPUT TANIMLANMASI
RASP_DIG_IN_1 = 6 #RPI 31 NOLU PIN
RASP_DIG_IN_2 = 13 #RPI 33 NOLU PIN
RASP_DIG_R_OUT_1 = 19 #RPI 35 NOLU PIN
RASP_DIG_R_OUT_2 = 16 #RPI 36 NOLU PIN
RASP_DIG_tr_OUT_1 = 21 #RPI 40 NOLU PIN
RASP_DIG_tr_OUT_2 = 20 #RPI 38 NOLU PIN
RASP_DIG_tr_LED_1 = 26 #RPI 37 NOLU PIN

#IO DECLERATION
RASP_DIG_IN_1 = 6 #PIN NO 31 OF RASPBERRY PI
RASP_DIG_IN_2 = 13 #PIN NO 33 OF RASPBERRY PI
RASP_DIG_R_OUT_1 = 19 #PIN NO 35 OF RASPBERRY PI
RASP_DIG_R_OUT_2 = 16 #PIN NO 36 OF RASPBERRY PI
RASP_DIG_tr_OUT_1 = 21 #PIN NO 40 OF RASPBERRY PI
RASP_DIG_tr_OUT_2 = 20 #PIN 38 OF RASPBERRY PI
RASP_DIG_tr_LED_1 = 26 #PIN 37 OF RASPBERRY PI

#definition SPI parameter
spi = spidev.SpiDev()
Expand Down

0 comments on commit 5df9417

Please sign in to comment.