Generate Square Wave

How can I generate two square waves with user defined parameters such as Amplitude (0 � 2.5 V), Pulse Width (10 - 30 msec) & Period and Output the desired waveform from the BL200 Single Board Computer.