main: Swap current and voltage pins.
event: Double the workspace for thread.