Chinese clone or not, download the latest IDE, and have a look at the Language Reference
Your clone can be picked from the tools>board menu. At the top of the boards menu is the new boards manger so you can add from a selection of special arduino boards. But i have the pro mini 5V 16MHz clone and works fine, be sure the "cpu" matches your clone voltage and speed. Programmer USBisp for the clone boards you need an USB/serial adapter
digitalWrite(2, HIGH); //turn digital pin 2 high
analogRead(3); //read voltage on Analog pin 3
with direct port manipulation, no?
DDRD = (1<<PD2);
PORTD = (1<<PD2);