Created Fri, 13 Sep 2013 10:11:41 +0000 by Pontello
Fri, 13 Sep 2013 10:11:41 +0000
Hi everyone! I'm Luca from Italy, I'm new to chipkit! I've got a problem with a library, I've tried to import it to mpide, everiting fine but when I try to test the script I receive this error:
vnt_lda.cpp: In function 'void readValues()':
vnt_lda.cpp:2293:40: error: 'class MAX31855' has no member named 'readInternalF'
I have made hours of try with different libraries... but nothing works..
The main code is here: http://dmn.kuulalaakeri.org/vnt-lda/TurboControlGJ_74.pde
Thanks a lot in advance.
Bye
Luca
Fri, 13 Sep 2013 13:55:00 +0000
It's not wrong, you know...
Try using "readInternal" instead of "readInternalF"
Fri, 13 Sep 2013 18:13:28 +0000
Ok... now the error is that:
vnt_lda.cpp:158:1: error: 'Adafruit_MAX31855' does not name a type vnt_lda.cpp: In function 'void readValues()': vnt_lda.cpp:2288:17: error: 'thermocouple' was not declared in this scope
Mon, 16 Sep 2013 13:31:09 +0000
Need urgent support with this issue, I can pay for support. Thanks
Luca
Mon, 16 Sep 2013 13:52:53 +0000
Please post your full, current, code, and a link to all the libraries you are using.
Mon, 16 Sep 2013 17:02:41 +0000
Hi and Thanks, here you can find all the files and libraries that I have tried. Thanks
Luca
Mon, 16 Sep 2013 17:26:17 +0000
fatal error: IOShieldEEPROM.h: No such file or directory
You didn't include all the libraries I need to compile. I mean all the libraries, not just the ones you are having problems with.
Mon, 16 Sep 2013 17:36:51 +0000
Sorry, here there is the other library that I have imported. No other libraries imported. Many thanks
Luca
Mon, 16 Sep 2013 17:42:19 +0000
Sorry, here there is the other library that I have imported. No other libraries imported. Many thanks Luca
No other libraries? Not even IOShieldOled.h ?
fatal error: IOShieldOled.h: No such file or directory
Mon, 16 Sep 2013 17:53:07 +0000
I have it by default... but in attach you can find the whole library folder. Many thanks again
Luca
Mon, 16 Sep 2013 18:42:00 +0000
You have more than a problem with the MAX31855 library. The whole sketch is reliant on PLib, which is causing untold problems.
Here is a version with all the PLib code ripped out and replaced with direct register manipulation. I don't know if it works, but it compiles.
You cannot use the Adafruit library, as it uses Arduino specific code. The plain MAX31855 library does seem to work, though, after changing readInternal() to readCJC().
Edit: it helps if I attach the file before hitting submit...
Tue, 17 Sep 2013 10:34:56 +0000
Hi, no... it don't work... I think that plib.h is mandatory....
Tue, 17 Sep 2013 10:59:54 +0000
In what way does it not work? Does it not compile? Does it compile but not produce the expected results? Have you looked to see if it's generating the right signals to control whatever the devices you have connected are?
Tue, 17 Sep 2013 13:00:07 +0000
I can't connect by telnet... so I can't verify the inmputs and then the outputs...
Tue, 17 Sep 2013 13:14:08 +0000
You can't connect to what by telnet? There's nothing at all in there anywhere that has anything to do with networking.
Tue, 17 Sep 2013 13:39:19 +0000
Really?? Sorry... but I'm new to programming controllers... But, if there isn't telnet connection... how to connect and set? Many thanks
Luca
Tue, 17 Sep 2013 13:42:00 +0000
It looks like serial to me...
if (Serial.available()) {
data = Serial.read();
if (data >= '0' && data <= '9') {
page = data - '0';
}
else if (data == '!') {
// Reads incoming map data etc.. R
readSysExCommand();
}
else if (data == ':') {
freezeModeEnabled = !freezeModeEnabled;
}
else if (data == '#') {
page = 12;
}
... etc ...
Tue, 17 Sep 2013 14:11:09 +0000
yes sure, by telnet connecting it to com12 (usb)
IT work with arduino (as this code born for arduino and then modified for max32)
here you can see how it work. Thanks
Luca
http://dmn.kuulalaakeri.org/vnt-lda/
Wed, 18 Sep 2013 07:22:31 +0000
But... can you communicate without using telnet? i.e., directly to the serial port either using the Serial Monitor, or a proper serial terminal program like teraterm, putty, etc?
Wed, 18 Sep 2013 16:41:50 +0000
Tried with putty... no answers...