Connect battery positive voltage to terminal A and ground to terminal B of the blower motor and verify its operation.

Blower motor removal/installation
Resistor removal/installationMazda 6 Service Manual: Battery Recharging
NOTE
Before performing maintenance or recharging the battery, turn off all
accessories and stop the engine.
To disconnect the battery, remove the negative cable first. Install it
last when connecting the battery.
Be sure to remove the caps before recharging the battery.
I ...
Mazda 6 Service Manual: Dtc clearing procedure
1. Start the on-board diagnostic test mode.
2. First press the POWER button, then simultaneously press AUDIO CONT button
for 2 seconds or more.
Caution
Before clearing the DTCs, be sure to enter all of them displayed
in the on-board diagnostic test mode in the Audio Repair Order Form. ...