0 Members and 1 Guest are viewing this topic.

function wave(x){ am = 57600/x; sendBits(0, am); sendBits(1, am);}

function wave(x, t){ am = 57600/x; for (i=0; i<x*t;i++){ sendBits(0, am); sendBits(1, am); }}

function wave(x, t){ am = (57600/x)/10; for (i=0; i<x*t;i++){ sendBytes(\x00, am); sendBytes(\xFF, am); }}