# Square

## class Square( frequency_hz: float, duty_cycle_pct: float = 50.0, phase_deg: float = 0.0, )[source]

Bases: [`object`](https://docs.python.org/3/builtins/functions.html#object "(in Python v3.15)")

Continuous rectangular wave; high for duty_cycle_pct percent of each period.

### frequency_hz: float

### duty_cycle_pct: float = 50.0

### phase_deg: float = 0.0
