The sunshade-ECU incorporates a microcomputer and controls motor operations with the sunshade switch signals, depending on various conditions.