I am using pyboard.py as the base of my serail communications.
So, what's the equivalent of
Code: Select all
Serial.begin(57600);
example of damged communication result (notice the last lines):
Code: Select all
print(scanDir("/", False))
[('D1.py', '/', (32768, 0, 0, 0, 0, 0, 1556, 3348282665, 3348282665, 3348282665)),
('boot.py', '/', (32768, 0, 0, 0, 0, 0, 848, 3348282539, 3348282539, 3348282539)),
('communication.py', '/', (32768, 0, 0, 0, 0, 0, 9216, 3348285105, 3348285105, 3348285105)),
('component.py', '/', (32768, 0, 0, 0, 0, 0, 1434, 3348282564, 3348282564, 3348282564)),
('fileDescriptor.py', '/', (32768, 0, 0, 0, 0, 0, 1462, 3348284507, 3348284507, 3348284507)),
('mpError.py', '/', (32768, 0, 0, 0, 0, 0, 3131, 3348282612, 3348282612, 3348282612)),
('mpFTP.py', '/', (32768, 0, 0, 0, 0, 0, 11664, 3348282600, 3348282600, 3348282600)),
('platformSpecific.py', '/', (32768, 0, 0, 0, 0, 0, 2596, 3348282609, 3348282609, 3348282609)),
('stepperMotor.py', '/', (32768, 0, 0, 0, 0, 0, 4228, 3348282611, 33221, ¦&’Â’²ŠŠJJbB:º¥™¥
½µÁ½¹•¹Ñ.py' '/', (32768, 0, 0, 0, 0, 0, 4014, 3348282613, 3348282613, 3348282613))]