Hello everybody
Few weeks ago, I made a USB supported Arduino based on ATMega8 and I didn't use FTDI FT232 chip ... I used V-USB (Virtual USB) method instead ... Actually it works properly
here is the board: https://metalab.at/wiki/Metaboard
But I have a problem, V-USB protocol doesn't support real time serial monitoring, so I can't use serial.begin() , serial.read() or serial.print() functions
In other words, Any program could work properly unless it uses Serial functions.
Even though when I open the Serial Monitor, nothing shows up.
What can I do to solve this problem ?
P.S: Please do not suggest to use any AVR microcontroller other than ATMega8 because we don't have ATMega168 or ATMega 328 in market ... and shipping is off to my country :
Although Metaboard above uses Atmega168, I could make it using Atmega8
Thanks in advance
As decsribed in Metalab site "AVR's UART lines are not used for USB. This means that they can be used for other purposes, but also that debug output written to the UART cannot be directly received via USB."
Unfortunately Metaboard doesn't support Serial communitication via USB.
IF you are only looking for serial output of quasi-character strings, this sample code may help. The String object takes some RAM and code space, but makes it very easy to "print" to any HID application under Windows, Linux, iOS.... I have tried Excel and Notepad for data capture. It is the most flexible method that I have found to get "stuff" out of the V-USB Arduino environment.
Seriously, testes88, as a newbie you only get 1 or 2 freepasses on reviving dead threads unless you provide some serious, creative, and overall valuable input - posting a semi-relative link is not one. Anyway, the OP is using a 328P and you are referencing an ATtiny...
So, be careful or the forum big-boys will get upset and they are not as nice as I am. When you do something like what you just did, every member who participated in the original exchange gets an 'unread reply' message. While I cannot vouch for the accuracy of the rumors, some newbies have lost use of one or more of their testicles for such transgressions.