PropWare
C++ objects and CMake build system for Parallax Propeller
Home
Download
Getting Started
Documentation
Reference
About
Related Links
Namespace List
Class List
File List
Examples
Build System
File List
File Members
propsideworkspace
Learn
Examples
ActivityBot
Test Encoder Connections.c
1
/*
2
Test Encoder Connections.c
3
4
Load to ActivityBot EEPROM. PWR to Position 2.
5
Gently turn each wheel by hand. Right wheel
6
blinks P27 LED, left wheel blinks P26 LED.
7
If not, encoders are not seeing wheel spokes.
8
Go to Extras/Troubleshooting section of tutorial.
9
10
http://learn.parallax.com/activitybot/test-encoder-connections
11
*/
12
13
#include "simpletools.h"
14
15
int
main
()
16
{
17
low(26);
18
low(27);
19
while
(1)
20
{
21
set_output(26, input(14));
22
set_output(27, input(15));
23
}
24
}
25
main
int main(void)
Definition:
GraphicsTest.c:20
Generated on Sat Aug 27 2016 00:58:03 for PropWare by
1.8.12