Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - nanawhite107

Pages: 1
1
I have an ATMega328p (MCU) connected to my computer via a USB to seal converter (BUB) from ModernDevice.com. The MCU is connected to the BUB by TX, RX and GND lines. Here is the datesheet of atmega328p

To send data using the U(S)ART, I use this library, written based on many solutions that can be found on the internet, and adapted to my needs:

UART.h:
So, after all this introduction, the problem is that when I connect to the MCU and send a byte, I only get some ASCII answer on my terminal when TEST 2 and TEST 4 are executed (method Echo, on COM.cpp). Every time I access a char array, or a string array, inside a loop, to send the array characters, I get trash in the desktop terminal.

Do you have a guess on what can be wrong?

Pages: 1
SMF spam blocked by CleanTalk