Strange issue , Serial communication works fine with Proto Board, but not with Industrial version.
But first :
- I am aware of that the pin numbering differs between Proto and Industrial
So I changed code on industruino to to use Ch 1,2,3,4 instead of protoboard 4,5,6,7 for my hardware inputs
- I am aware of some weird issue where (both) of these type of devices kinda picks randomly a COM port number,
I fixed at the C# side, but would rather see the next available Port is used (i'm allready at COM11 now after a few sketch updates)
- I used the .inf file to instal the industrial board, and didnt alter anything afterwards.
At industruino side the code goes like :
Serial.begin(9600); //Start serial communication boud rate at 9600 (in setup)
//...inside main loop :
Serial.print("A\n"); //never executes
Hi Peter, not sure which MCU versions you are using, but in case you have a D21G, the Serial communication over USB uses the name "SerialUSB" (different from 32u4 and 1286 were it was "Serial"). Please refer to 2nd paragraph at https://github.com/Industruino/libraries
I was under the impression that the protoboard was a D21G and i used serial in the sketch ??
Could you perhaps per version, give an example as to me its not clear what our company buyer bought.
So that i can tryout each example, and know the version
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!