hello everyone.
I am using a core to control a chip via i2c and i am try to display the data get from the chip on my macbook.
i use wire.read( ) and then serial.print( ), but i have no idea what to do next.
hello again, i read some introductions about both software and them seems far beyond my need. is there any commands in curl or command line that can display the data which core gets ?
hi
So now my situation is I have my core connected to a chip via i2c(D0 and D1 i suppose ), core sends command to chip and chip generates data, i want to check whether the data is good enough before next procession. What i am trying to do is fetch these data and display them on my computer. I use wire.read to fetch the data to core but have no idea what to do next.
Perhaps I'm doing something wrong. I have my particle electron connected to my computer and I've flashed
the code below to it, however, when I type particle serial monitor, I get serial: no devices avail via serial
#define ledPin D7
int i = 0;
void setup() {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}
void loop() {
Serial.print("Hello, this is iteration:");
Serial.println(i);
digitalWrite(ledPin, !digitalRead(ledPin));
i++;
delay(1000);
}
Looks like the WINUSB driver from ZADIG wasn’t assigning a COM port. Now that I used the particle drivers. The electron shows up as COM5 and Serial.Print works great. Thanks for the help!