so I need to create a file named playlist.txt with my favourite streams, right?
The code you shown is not working...
Code: Select all
try
Code: Select all
avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/hardware/arduino/variants/standard /tmp/build4896435538512032639.tmp/sketch_feb19a.cpp -o /tmp/build4896435538512032639.tmp/sketch_feb19a.cpp.o
sketch_feb19a.cpp:1:6: error: invalid preprocessing directive #!
sketch_feb19a.cpp:7:45: warning: character constant too long for its type [enabled by default]
sketch_feb19a.cpp:14:9: error: #error = sys.exc_info()[0]
sketch_feb19a.cpp:15:9: error: invalid preprocessing directive #print
sketch_feb19a.cpp:27:13: error: invalid preprocessing directive #set
sketch_feb19a.cpp:30:30: warning: character constant too long for its type [enabled by default]
sketch_feb19a.cpp:36:16: error: invalid preprocessing directive #get
sketch_feb19a.cpp:42:25: error: invalid preprocessing directive #client
sketch_feb19a.cpp:68:16: error: invalid preprocessing directive #sleep
sketch_feb19a.cpp:69:15: error: invalid preprocessing directive #time
sketch_feb19a.cpp:72:7: error: invalid preprocessing directive #set
sketch_feb19a.cpp:74:5: error: stray ‘#’ in program
sketch_feb19a.cpp:76:21: error: empty character constant
sketch_feb19a.cpp:83:7: error: invalid preprocessing directive #set
sketch_feb19a.cpp:88:7: error: invalid preprocessing directive #listening
sketch_feb19a.cpp:101:7: error: invalid preprocessing directive #receiving
sketch_feb19a.cpp:105:14: error: invalid preprocessing directive #print
sketch_feb19a.cpp:111:14: error: invalid preprocessing directive #print
sketch_feb19a.cpp:3:1: error: ‘import’ does not name a type