fix libaray error by removing big unused header files

This commit is contained in:
prisar
2023-08-08 00:58:06 +05:30
parent acfbcdbc50
commit cbe19fb62b
4 changed files with 833 additions and 12 deletions

View File

@@ -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)