¡@

Home 

php Programming Glossary: inbyte

PHP serial port data return from Arduino

http://stackoverflow.com/questions/13114275/php-serial-port-data-return-from-arduino

data in the buffer read a byte if Serial.available 0 int inByte Serial.read respond only to the values 'r' 'g' 'b' or '0' through.. only to the values 'r' 'g' 'b' or '0' through '9' if inByte 'r' currentPin redPin if inByte 'g' currentPin greenPin if inByte.. 'b' or '0' through '9' if inByte 'r' currentPin redPin if inByte 'g' currentPin greenPin if inByte 'b' currentPin bluePin if..