PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Examples
Robots
Arlo
Arlo - No Surprise Maneuvers.c
1
/*
2
Arlo - No Surprise Maneuvers.c
3
4
Run this before ever turning on power to the Arlo's motors to prevent any
5
unexpected motions.
6
*/
7
8
#include "
simpletools.h
"
// Include simple tools
9
#include "arlodrive.h"
// Include arlo drive
10
11
int
main
()
// Main function
12
{
13
freqout
(4, 2000, 3000);
// Beep -> program starting
14
print
(
"Your Arlo will stay still\n"
);
// Success message
15
}
freqout
void freqout(int pin, int msTime, int frequency)
Use same cog to send square wave of a certain frequency for a certain amount of time....
Definition:
freqout.c:10
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
print
int print(const char *format,...) __attribute__((format(printf
Print format "..." args to the default simple terminal device. The output is limited to 256 bytes.
main
int main(void)
Definition:
GraphicsTest.c:20
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17