add i2c set freq function
and pwm set freq function, extend spi1/2 devices interface, move spi adc to arduino lib
delete prebuit samples
change pwm range define