Jack_Rider
New Member
Hello guys. I've done this master and slave code for two 16f877a microcontrollers. The project is based on the virtual terminal receiving input from the user and sending it to the master by uart. The master then sends the received letter by spi to the slave, which displays it on the second virtual terminal by uart communication. the only thing left now is--i want the slave to display exactly what i type in and not display new letters when i'm not typing but from what i see here, once i type a letter in the first virtual terminal then i see the second virtual terminal keep repeating an unstoppable sequence of that letter, and when i press another letter it changes the sequence to that letter. I've done some tests on the slave select input and i've figured the problem is with the master. It keeps sending even when i'm not typing. Can anyone find the solution to this puzzle? Thanks. And also, i'm gonna upload the code and proteus as well.