Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

DEV-13042 Datasheet(PDF) 8 Page - SparkFun Electronics

Part # DEV-13042
Description  SparkFun Blocks for Intel짰 Edison - PWM
PDF  9 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SPARKFUN [SparkFun Electronics]
Direct Link  https://www.sparkfun.com/
Logo SPARKFUN - SparkFun Electronics

DEV-13042 Datasheet(HTML) 8 Page - SparkFun Electronics

  DEV-13042 Datasheet HTML 1Page - SparkFun Electronics DEV-13042 Datasheet HTML 2Page - SparkFun Electronics DEV-13042 Datasheet HTML 3Page - SparkFun Electronics DEV-13042 Datasheet HTML 4Page - SparkFun Electronics DEV-13042 Datasheet HTML 5Page - SparkFun Electronics DEV-13042 Datasheet HTML 6Page - SparkFun Electronics DEV-13042 Datasheet HTML 7Page - SparkFun Electronics DEV-13042 Datasheet HTML 8Page - SparkFun Electronics DEV-13042 Datasheet HTML 9Page - SparkFun Electronics  
Zoom Inzoom in Zoom Outzoom out
 8 / 9 page
background image
  cout<<"Current mode register values: 0x"<<hex<<pwm.readModeR
egisters()<<endl; 
  cout<<"Current prescaler: "<<dec<<static_cast<int16_t>(pwm.g
etPrescaler())<<endl; 
  // This steps through the full range of your servo's rotatio
n. It also shows 
  //  the start and stop time of the pulses, so you can see ho
w those correspond 
  //  to different positions. 
  for (int16_t i = servoMinAngle; i <= servoMaxAngle; i++) 
  { 
    pwm.getChlTime(SERVO, &startTime, &stopTime); 
    pwm.setChlAngle(SERVO, i); 
    cout<<"Start time: "<<dec<<startTime<<endl; 
    cout<<"Stop time: "<<dec<<stopTime<<endl; 
    usleep(100000); 
  } 
  cout<<"Servo demo complete!"<<endl; 
#endif 
  return MRAA_SUCCESS; 
} 
Resources and Going Further
Now that you have had a brief overview of the PWM Block, take a look at
some of these other tutorials. These tutorials cover programming, Block
stacking, and interfacing with the Intel Edison ecosystems.
Edison General Topics:
• General Guide to Sparkfun Blocks for Intel Edison
• Edison Getting Started Guide
• Loading Debian (Ubilinix) on the Edison
Block Specific Topics:
• PWM Block Git Repo
• PWM Block C++ Library Repo
Check out these other Edison related tutorials from SparkFun:
SparkFun Blocks for Intel®
Edison - Base Block
A quick overview of the features of
the Base Block.
SparkFun Blocks for Intel®
Edison - Console Block
A quick overview of the features of
the Console Block.
Installing libmraa on Ubilinux SparkFun Blocks for Intel®
Page 8 of 9



Html Pages

1 2 3 4 5 6 7 8 9


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com