Member #253803

Member Since: September 23, 2011

Country: United States

  • Product SEN-09652 | about a year ago

    My accelerometer is showing 1.6v at 0 degree. The voltage goes up turning it one way, and goes downwards the other way. But on 180 degee it shows 1,6v again. Is this correct? How do I know if the accelerometer is 0 degree or 180 degree?

  • Product SEN-09418 | about a year ago

    I get this error when I try to compile the program using AVR studio for the Atmega328. In the file ic2.h I get this:

    error: ‘F_CPU’ uncleared (First used in this function)

    Code:

        //calculate bitrate division    
    bitrate_div = ((F_CPU/40001)/bitrateKHz);
    if(bitrate_div >= 16)
    bitrate_div = (bitrate_div-16)/2;
    outb(TWBR, bitrate_div);
    

    Any help guys?

No public wish lists :(