L298N: use new to create object
Core: reorder pin scheme; set the default scheme to Wiring(0)
Formatting and minor tweaks