Seeed-Studio / Grove_Temper_Humidity

Grove_Temper_Humidity based on TH02 & TH06
MIT License
9 stars 13 forks source link

TH02_dev::TH02_dev() issue with TwoWire() #1

Closed ashishdatta closed 10 years ago

ashishdatta commented 10 years ago

I am having issues running the demo on the Intel Galileo board. The issue I am getting: TH02_dev.cpp:37:20: error: no matching function for call to 'TwoWire::TwoWire()'

This is the line where error is coming from: TH02_dev::TH02_dev() {

}

Should TH02_dev() be empty?

lawliet004 commented 10 years ago

Thanks for your remind, we noticed this bug and have fixed our library. The reason of this error is that the Class TH02_dev is the subclass of TwoWire Class, while Intel has rewritten the TwoWire library, so it compiled error. Please try again with your Intel Galileo board and I believe it will compile successfully. Anyway, thank you sincerely again. :)

ashishdatta commented 10 years ago

Thank you!!