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

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!
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-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
purav70
Turns out I needed to add #include <stdint.h> for it to work, something I didn't have to do for the arduino

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?
Leff
Welcome, but that's impossible I think.
Cause Bluno is also UNO (board), plz check if you have wronged the baords?
