Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

ADXL345.h

By: a guest on May 20th, 2010  |  syntax: C  |  size: 0.24 KB  |  views: 284  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //Function declarations
  2. int accelerometer_init();
  3. int measure_mode();
  4. int standby_mode();
  5. int set_range(char range);
  6. int get_range();
  7. int get_data_x(float * x_result);
  8. int get_data_y(float * y_result);
  9. int get_data_z(float * z_result);