This document presents a simple and low-cost digitally programmable square wave generator circuit using an operational amplifier, binary weighted resistors, and analog switches. The proposed circuit allows the output frequency to be tuned digitally by selecting different combinations of feedback resistors via a binary code. The circuit was tested experimentally and found to generate 7 different frequencies as expected based on the 3-bit codes input. The measured frequencies matched well with the calculated frequencies, with some increase in error as resistances decreased. The proposed circuit provides a low-cost solution for generating digitally tuned square waves using few components.