10.07.2015 Views

cubloc_manual2.pdf

cubloc_manual2.pdf

cubloc_manual2.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

다음은 MENU 명령과 ON PAD 명령 활용법을 쉽게 알 수 있도록 만든 예제 프로그램입니다. 보턴을 누르면 삑소리가 나면서 보턴이 반전됩니다.'' DEMO FOR GHTB'Const Device = CT1700Dim TX1 As Integer, TY1 As IntegerDim k As LongContrast 550‘ 이 수치를 변경하면 화면의 Constast 가 조정됨.Set Pad 0,4,5On Pad Gosub abcMenuset 0,2,8,16,87,63Menutitle 0,13,13,"시 작"Menuset 1,2,96,16,176,63Menutitle 1,13,13,"종 료"Menuset 2,2,184,16,264,63Menutitle 2,13,13,"재시작"Low 18DoLoopabc:TX1 = Getpad(2)TY1 = Getpad(2)Circlefill TX1,TY1,10If Menucheck(0,TX1,TY1) = 1 ThenMenureverse 0Pulsout 18,300 ‘키터치음 발생, 부저가 연결되어 있음End IfIf Menucheck(1,TX1,TY1) = 1 ThenMenureverse 1Pulsout 18,300End IfIf Menucheck(2,TX1,TY1) = 1 ThenMenureverse 2Pulsout 18,300End IfReturn시 작 종 료 재시작369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!