This is a follow on from an other question but a different problem
I can't see where Im going wrong here ....I have tried all sorts but Im just getting no where
//This is the data I need to send to a machine to get it to print a test code
byte seq[] = {12, 33, 21, 11, 21, 66 , 43, 21, 21, 24, 17, 33,};
void setup() {
Serial.begin(9600);
}
void loop() {
//This will write to an RS232 level converteter then to a barcode printer
Serial.write(seq.sizeof(seq));
//This is just a indicator to show the data is being read and will be deleted when finished
Serial.print(seq.sizeof(seq));
//leave a gap between each interation
Serial.print(" ");
delay(200);
}
Domino_test2.ino (518 Bytes)