1 / 18

Introduction to Programming

Introduction to Programming. Jessica Boucher intelitek, Inc. About intelitek, Inc. A global company in business for more than 25 years Worldwide sales $18 Million Extensive experience in developing curriculum and assessments aligned with industrial, state and national standards

jamal
Download Presentation

Introduction to Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Programming Jessica Boucher intelitek, Inc.

  2. About intelitek, Inc. • A global company in business for more than 25 years • Worldwide sales $18 Million • Extensive experience in developing curriculum and assessments aligned with industrial, state and national standards • intelitek programs include custom training solutions for corporate and educational customers

  3. Dedicated to technology education • Skills USA: 280,000 Students • Sponsor of both the AMT and Robotics competitions for more than 14 years, with extensive support and investment at the state and national levels. • Youth Development Foundation (YDF) member for more than 8 years. • Project Lead The Way (PLTW): 1400 Schools • Intelitek primary technology supplier PLM-1000/eXpertMill and ER4u packages • FIRST Robotics Competition: 130,000 Students • Official Program Supplier: FRC • EasyC 2.0 and EasyC PRO provided to more than 32,000 students

  4. easyC Interface

  5. Robot Map

  6. Online Window • Real-time testing • Visually solidifies how things work

  7. Robot Map 255 0 0 255

  8. Writing your first program • Talk out your program • Write it down using robot map • Bring code into easyC

  9. Programming with turns • Types of turns • Arc • One motor stopped • Spin • Two motors, same direction

  10. RC Control • What is RC Control? • Types of RC Control • Tank vs. Arcade • 2 motor vs. 4 motor • Programming RC Control • WHILE loops vs. IF loops

  11. Programming and Sensors • Why use sensors? • Sensors Programming • Test Sensor • Declare variable • Program sensor • Get value • Tell robot how to interpret value

  12. Variables • Constants vs. Variables • Wait (5000) vs. Wait (pause) • Variable Rules • Begin with a letter • Not a reserved word (IF, WHILE, FOR) • Not Characters ( #, !, %) • Best Practices • Use_Underscores • Be descriptive, but short • C is Case Sensitive!

  13. Variable Types

  14. Programming and Sensors • Why use sensors? • Sensors Programming • Test Sensor • Declare variable • Program sensor • Get value • Tell robot how to interpret value

  15. Competition Templates • For Consistent Match Play • Functions • Initialize (FRC Only) • Robot on -> autonomous • Initialize sensors • Autonomous • How the robot will act on its own • Operator Control • How the robot will act when driven

  16. Suggested Vex Projects • Dry-erase Marker & Whiteboard • Draw shapes • Program your initials • Create a maze • Obstacle Course • Practice driving • Use sensors to detect • Vex Games – old or new

  17. Support • 24/7 Support • easyC Help File • www.intelitekdownloads.com/easyCPRO • www.intelitekdownloads.com/easyCV2 • intelitek Supported Forums • www.chiefdelphi.com • www.vexforum.com • During business hours • support@intelitek.com • 800-221-2763

  18. Thank You!

More Related