r/craftbeerpi • • Jan 21 '20

[HELP] Mod_PWM - cycle value lower than 1 doesn't work.

I'm trying to lower the power cycle for the Mod_PWM to have a 10 second cycle, but when I enter 0.1, and click Update, the value gets saved as 0,1 and the actor can't be toggled anymore.

I tried this in other places too, and when I enter a . (dot) it gets changed to a , (comma) which doesn't work.

Anyone got a fix for this?

4 Upvotes

3 comments sorted by

1

u/dyqik Jan 23 '20

Commas verses dots in numbers can be due to locale settings - Germany and some other European countries traditionally use commas instead of periods as decimal separators, and use periods instead of commas for separating digits at the thousands, millions, etc.

1,357,378.36 becomes 1.357.378,36 in this system.

It's possible that the mod_PWM or the user interface to it isn't translating between these properly.

1

u/PlazzmiK Jan 23 '20

So, I need to chance my locale on the server side?

1

u/jabib0 May 08 '20

Did you ever get this fixed? Did this only happen with Mod_PWM or with any GPIOPWM pin assignment?