Code Monkey home page Code Monkey logo

x9c103s's People

Contributors

hedrahexon avatar

Stargazers

 avatar

Watchers

 avatar

x9c103s's Issues

Compile Errors

Hello,

the library does not compile:

.pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp: In member function 'void X9C103S::setResistance(int)': .pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp:28:3: error: expected ',' or ';' before 'if' if (diff > 0) { ^~ .pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp:26:13: warning: unused variable 'diff' [-Wunused-variable] int diff = _value - _resistance ^~~~ .pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp:30:5: error: expected '}' before 'else' } else { ^~~~ .pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp:31:4: error: 'diff' was not declared in this scope diff *= -1 ^~~~ .pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp:31:4: note: suggested alternative: 'div' diff *= -1 ^~~~ div .pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp:35:29: error: 'diff' was not declared in this scope for (int i = 0; i < diff; i++) { ^~~~ .pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp:35:29: note: suggested alternative: 'div' for (int i = 0; i < diff; i++) { ^~~~ div .pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp: At global scope: .pio/libdeps/nanoatmega328/X9C103S/src/X9C103S.cpp:44:1: error: expected declaration before '}' token } ^ *** [.pio/build/nanoatmega328/lib322/X9C103S/X9C103S.cpp.o] Error 1

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.