L293d with PC fan

Hello
Here is my pseudo code to start the coding in C++.

digitalWrite(PCfan,bluetoothRx?HIGH:LOW);