Git Product home page Git Product logo

geiger-counter-attiny85's People

Stargazers

 avatar

Watchers

 avatar  avatar

geiger-counter-attiny85's Issues

Can't compile project

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.