Hi!
I've been looking into the heaviside step function a bit.
Interestingly, people can't seem to agree on a single definition for the unit step function in general, I've seen several definitions pop up including $f(0)=\pm 1$, $f(0)=\frac{1}{2}$ or $f(0)$ being completely undefined.
I believe I've seen the fourier series of it before! At least, more so for $\operatorname{sgn}(x)$ - but some definitions of the step function are simply transformations of $\operatorname{sgn}(x)$ interestingly enough.