chrisvega / geiger-counter-attiny85 Goto Github PK
View Code? Open in Web Editor NEWGeiger Counter using an Attiny85 to estimate dose rate.
Geiger Counter using an Attiny85 to estimate dose rate.
Hi, @ChrisVega . I tried different versions of Arduino IDE, but can't compile a project for OLED display. I always stuck at error "call of overloaded 'String(float&, int)' is ambiguous"
Can you help me please?
Here is full error code:
D:\Arduino\Giger_counter_v6_attiny_OLED\Giger_counter_v6_attiny_OLED.ino: In function 'void loop()':
Giger_counter_v6_attiny_OLED:48: error: call of overloaded 'String(float&, int)' is ambiguous
DoseDis = String(Dose, 4);
^
D:\Arduino\Giger_counter_v6_attiny_OLED\Giger_counter_v6_attiny_OLED.ino:48:29: note: candidates are:
In file included from C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\cores\tiny/WProgram.h:17:0,
from C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\cores\tiny/Arduino.h:4,
from sketch\Giger_counter_v6_attiny_OLED.ino.cpp:1:
C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\cores\tiny/WString.h:39:5: note: String::String(long unsigned int, int)
String( const unsigned long, const int base=10 );
^
C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\cores\tiny/WString.h:38:5: note: String::String(long int, int)
String( const long, const int base=10 );
^
C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\cores\tiny/WString.h:37:5: note: String::String(unsigned int, int)
String( const unsigned int, const int base=10 );
^
C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\cores\tiny/WString.h:36:5: note: String::String(int, int)
String( const int, const int base=10);
^
Giger_counter_v6_attiny_OLED:53: error: 'class String' has no member named 'c_str'
SSD1306.ssd1306_string_font6x8(CPMdis.c_str());
^
Giger_counter_v6_attiny_OLED:55: error: 'class String' has no member named 'c_str'
SSD1306.ssd1306_string_font6x8(DoseDis.c_str());
^
Multiple libraries were found for "font6x8.h"
Used: C:\Users\shado\Documents\Arduino\libraries\ssd1306xled-master
Not used: C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkOLED
Not used: C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkOLED
Not used: C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkOLED
Not used: C:\Users\shado\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkOLED
exit status 1
call of overloaded 'String(float&, int)' is ambiguous
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.