Empty plot of piecewise function?

Hi, I am trying to write up a ladder function, I use Piecewise:

f[x]=Piecewise{{1.5, {-6<x<-5.8}}}

where this is the first step of the ladder. Then adding a second step:

f[x]=Piecewise{{1.5, {-6<x<-5.8}}, {-1.5, {-5.6<x<-5.4}}}

But the plots are empty. Is this a problem with the intervals?

Thanks

Please check your code. There is no [ ] following Piecewise.

Thanks for that, it show now the function, but the plot is still blank.

Too many curly braces. Try this:

f[x] = Piecewise[{{1.5, -6 < x < -5.8}}];
Plot[f[x], {x, -6.5, -5.5}]

Do you know the function Floor and friends? Is it this, what you want?

Plot[Floor[x], {x, 0, 10}, Exclusions -> None]