Hey,
so - it appears that I may have screwed this bit up, sorry; the code has been amended to include the GPIO settings from the original LCD based script, so it now reads:
while True:
GPIO.setmode(GPIO.BOARD)
GPIO.setup(40, GPIO.OUT)
GPIO.output(40,1)
sleep(0.4)
GPIO.output(40,0)
sleep(2.0)...