Project:YAAC: Difference between revisions

From London Hackspace Wiki

Line 188: Line 188:
=== Serial communication over USB ===
=== Serial communication over USB ===


Serial.begin() and Serial.print() statements compile ok with the AT90USB162 libraries. Statements will be echoed to the Arduino's Serial Monitor, once the correct Serial Port - USB device mapping has been selected in:
Arduino Serial.begin() and Serial.print() statements are understood by the AT90USB162 libraries. Statements will be echoed to the Arduino's Serial Monitor, once the correct Serial Port - USB device mapping has been selected in:
   
   
  Tools > Serial Port > ''USB Device'' e.g. /dev/ttyUSB000
  Tools > Serial Port > ''USB Device'' e.g. /dev/ttyUSB000
TODO: Look at generated .cpp files to see what functions Arduino Serial functions are mapping to.


=== PWM ===
=== PWM ===
Anonymous user