Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lexical or Preprocessor Issue #4

Open
chankalun opened this issue Nov 30, 2014 · 5 comments
Open

Lexical or Preprocessor Issue #4

chankalun opened this issue Nov 30, 2014 · 5 comments

Comments

@chankalun
Copy link

Hello, I was trying to run the sketch and I have got an issue of "WProgram.h" file not found with parse issues of unknown type name "uint8_t".
Can you please advise the problem and solution please?

Cheers,
Karen

@kriswiner
Copy link
Owner

What microcontroller are you using?
Don’t know what WProgram.h is.

uint8_t is the same as char or byte on most machines.

Kris
From: Karen Chan
Sent: Saturday, November 29, 2014 4:09 PM
To: kriswiner/LSM9DS0
Subject: [LSM9DS0] Lexical or Preprocessor Issue (#4)

Hello, I was trying to run the sketch and I have got an issue of "WProgram.h" file not found with parse issues of unknown type name "uint8_t".
Can you please advise the problem and solution please?

Cheers,
Karen


Reply to this email directly or view it on GitHub.

@TrippyLighting
Copy link

Also what version of Arduino IDE ar you using ?
The reference to the missing Wrogram.h could indicate that you are running either an older Arduino IDE. Wprogram.h was repaced with Arduino.h a good while back.

@chankalun
Copy link
Author

Hi Kris and TrippyLighting,

I am using the Adafruit LSM9DS0 with Arduino IDE1.0.5.
"WProgram.h" was within the sketch under LSM9DS0 / SFE_LSM9DS0.h

Cheers,
Karen

@kriswiner
Copy link
Owner

You could try my basic LSM9DS0 sketch. I like Jim Linblom's sketch and wrote a fair number of the functions in it. But I find it is rather cumbersome to keep track of all the class functions. I prefer straightforward unitary sketch writing, so you might find mine easier to use and modify. See:

https://github.com/kriswiner/LSM9DS0/tree/master/Teensy3.1/LSM9DS0-MS5637

@kriswiner
Copy link
Owner

I agree with TrippyLightning, just comment the WProgram.h include out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants