FT857D-ESP32/FT857D-ESP32.cpp
// this function reduces total code-space by allowing for
// single byte commands to be issued (ie. all the toggles)
this function reduces total code-space by allowing for
single byte commands to be issued
this function reduces total code - space by allowing for single byte commands to be issued
byte FT857D::singleCmd(int cmd) {
	byte outByte[5] = {0x00,0x00,0x00,0x00,0x00};
	outByte[4] = cmd;
	sendCmd(outByte, 5);
	return getByte();
}
byte FT857D :: singleCmd ( int cmd ) { byte outByte [ 5 ] = { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 } ; outByte [ 4 ] = cmd ; sendCmd ( outByte , 5 ) ; return getByte ( ) ; }
this function reduces total code-space by allowing for
single byte commands to be issued (ie.
this function reduces total code - space by allowing for single byte commands to be issued ( ie .