###############################
#
#  burnGPIO.py
#
#  GPIO definition interface
#
#  Put All your pin definition here
#  All class will use this file for reference
#
#
import RPi.GPIO as GPIO

global PIC_CLK
global PIC_DATA
global PIC_MCLR
global PIC_PGM
#CLK GPIO
PIC_CLK = 7

#DATA GPIO 
PIC_DATA = 24

#MCLR GPIO
PIC_MCLR = 21

#PGM
PIC_PGM = 26


def Setup_Interface():
  GPIO.setwarnings(False)
  GPIO.setmode(GPIO.BOARD)
  GPIO.setup(PIC_MCLR,GPIO.OUT)
  GPIO.output(PIC_MCLR,False)
  GPIO.setup(PIC_CLK,GPIO.OUT)
  GPIO.setup(PIC_DATA,GPIO.OUT)
  GPIO.setup(PIC_PGM,GPIO.OUT)
  



@@ -164,32 +164,8 @@
 %0A#%0A#
-%0Aimport RPi.GPIO as GPIO
 %0A%0Agl
@@ -228,18 +228,501 @@
 PGM%0A
-#CLK GPIO%0A
+%0A%0A# check CHIP or it is a raspberry Pi%0A%0Af = open('/proc/cpuinfo','r')%0Acpuinfo = f.read()%0Af.close()%0A%0A%0Aif cpuinfo.find('Allwinner') %3E0 :%0A   #  ------  chip  ------%0A   print('C.H.I.P GPIO')%0A   import CHIP_IO.GPIO as GPIO%0A   GPIO.cleanup()%0A   #CLK GPIO%0A   PIC_CLK = 'LCD-D15'%0A%0A   #DATA GPIO %0A   PIC_DATA = 'LCD-D19'%0A%0A   #MCLR GPIO%0A   PIC_MCLR = 'LCD-D21'%0A%0A   #PGM%0A   PIC_PGM = 'LCD-D23'%0A%0Aelse:%0A   #  ------ Raspberry Pi --%0A   print('Raspberry Pi GPIO')%0A   import RPi.GPIO as GPIO%0A%0A   #CLK GPIO%0A   
 PIC_
@@ -730,16 +730,19 @@
 LK = 7%0A%0A
+   
 #DATA GP
@@ -745,16 +745,19 @@
 A GPIO %0A
+   
 PIC_DATA
@@ -763,16 +763,19 @@
 A = 24%0A%0A
+   
 #MCLR GP
@@ -777,16 +777,19 @@
 LR GPIO%0A
+   
 PIC_MCLR
@@ -795,21 +795,27 @@
 R = 21%0A%0A
+   
 #PGM%0A
+   
 PIC_PGM 
@@ -821,16 +821,18 @@
  = 26%0A%0A%0A
+%0A%0A
 def Setu

make it CHIP compatible