Closed szczys closed 6 years ago
Is this a feature that can be implemented? If so, I think it should be the priority now.
On one hand, it makes it less important to type on the badge. On the other hand, we will have much more sophisticated basic and music if people can backup/transfer with computer or other badges.
I implemented new words sload and ssave in 0.60 ssave just spits out program buffer until in encounters zero, including the zero. sload sits and waits for new bytes from serial and writes it into program buffer. once it receives zero, buffer is full or user presses BRK, it finishes its operation and prints out how much bytes were received.
Expected modus operandi is as follows - type sload, hit enter on badge, send the file from computer, wiat a moment for transfer, hit BRK on badge, you should be able to see how much bytes were received. For ssave - setup PC to receive file, type ssave and there you go. If you are sending file from badge to badge, sload is expected to finish automatically, as ssend sends zero byte as last byte.
This is great! I'll add instructions for transfers to and from Linux machine to badge project page. If you have instructions for doing this on Windows or on OSX, please add instructions: https://hackaday.io/project/80627-badge-for-hackaday-conference-2018-in-belgrade/log/146230-serial-communications-with-badge
Tested and working.
This is related to #2
This will allow two badges to connect together (or computer USB-to-Serial cable) for transferring BASIC programs between two badges connected by wire.
Suggested: