Forum >Conversion of code between Arduino and Bluno
Bluno General Arduino

Conversion of code between Arduino and Bluno

userHead purav70 2016-06-08 12:12:39 3418 Views3 Replies
Hi all,

So I found a library online and I was able to implement it on a normal arduino uno, however when I try to use it with the bluno, I get the following errors for several lines in the header file. :

error: 'uint16_t' does not name a type
error: 'uint8_t' has not been declared

An example line for each of these errors is below:
uint16_t IR = 0;
void I2CwriteByte(uint8_t address, uint8_t subAddress, uint8_t data)

Any advice would be appreciated!
Thanks!
2016-06-12 23:36:06 O, thanks to follow up. userHeadPic Leff
2016-06-09 08:01:03 Hi Leff,

Turns out I needed to add #include <stdint.h> for it to work, something I didn't have to do for the arduino
userHeadPic purav70
2016-06-08 23:47:30 Hi purav70,

Welcome, but that's impossible I think.

Cause Bluno is also UNO (board), plz check if you have wronged the baords?
userHeadPic Leff