fix libaray error by removing big unused header files
This commit is contained in:
9
flash.py
9
flash.py
@@ -19,7 +19,10 @@ C++ header files)
|
||||
"""
|
||||
sketch += Ino("""
|
||||
#include "hello.h"
|
||||
|
||||
#include <SPI.h>
|
||||
#include <Wire.h>
|
||||
#include <math.h>
|
||||
#include "ADS1X15.h"
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
@@ -33,7 +36,7 @@ sketch += Ino("""
|
||||
|
||||
sketch += H("hello.h", """
|
||||
void hello() {
|
||||
Serial.println("hello smi5");
|
||||
Serial.println("hello smi8");
|
||||
}
|
||||
""")
|
||||
|
||||
@@ -63,4 +66,4 @@ sketch.upload(port='/dev/cu.usbserial-1420')
|
||||
# sketch.upload(port='ttyUSB')
|
||||
# sketch.upload(port='/dev/cu.usbserial-1420') #/dev/cu.usbmodem
|
||||
|
||||
print(sketch.output)
|
||||
print('hi', sketch.output)
|
||||
Reference in New Issue
Block a user