Referencing: thread314-1263352
BA2PC Qbasic notes
Serial comm settings: 300,8,1,N, DTR turns BA on/off
Source code (Qbasic/VB): http://www.upstatenetworks.com/kiosk
OPEN "com1: 300, n, 8, 1,cd0,cs0,ds0,op0,rs,rb2048" FOR INPUT AS #1
Here's the code to detect a bill :
ON COM(1) GOSUB...