Git Product home page Git Product logo

arduino-proximity-sensor's People

Contributors

domoszlai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sandorlevi

arduino-proximity-sensor's Issues

Whisper node

Hi,

I was trying to run your code in a Whisper Node but i got the folowing errors:
`

sketch\frequency_counter_attiny.cpp: In function 'long unsigned int count_frequency(uint8_t)':

sketch\frequency_counter_attiny.cpp:31:3: error: 'GIMSK' was not declared in this scope

GIMSK = 0b00100000;

^

sketch\frequency_counter_attiny.cpp:32:3: error: 'PCMSK' was not declared in this scope

PCMSK |= _BV(pin);

^

sketch\frequency_counter_attiny.cpp:35:3: error: 'TCCR1' was not declared in this scope

TCCR1 = _BV(CTC1); // CTC mode

^

In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,

             from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:90,

             from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,

             from sketch\frequency_counter_attiny.cpp:1:

sketch\frequency_counter_attiny.cpp:35:15: error: 'CTC1' was not declared in this scope

TCCR1 = _BV(CTC1); // CTC mode

           ^

sketch\frequency_counter_attiny.cpp:43:3: error: 'OCR1C' was not declared in this scope

OCR1C = 250;

^

sketch\frequency_counter_attiny.cpp:44:3: error: 'TIMSK' was not declared in this scope

TIMSK |= _BV(OCIE1A); // enable Timer1 interrupt

^

sketch\frequency_counter_attiny.cpp: In function 'void TIM1_COMPA_vect()':

sketch\frequency_counter_attiny.cpp:65:5: error: 'TIMSK' was not declared in this scope

 TIMSK &= ~_BV(OCIE1A);      // disable Timer1 Interrupt

 ^

exit status 1
Error compiling for board Talk2 Whisper Node.
`
Im i doing something wrong or is it just the board that doesnt support it?

Thanks in advance

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.