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
simple
cognum.c
1
/*
2
* @file cognum.c
3
*
4
* @author Andy Lindsay
5
*
6
* @copyright
7
* Copyright (C) Parallax, Inc. 2014. All Rights MIT Licensed.
8
*
9
* @brief Source code for cog_num function.
10
*/
11
12
13
#include "simpletools.h"
14
15
int
cog_num(
int
*coginfo)
16
{
17
int
cog = *coginfo - 1;
18
return
cog;
19
}
20
21
Generated on Sat Aug 27 2016 00:58:09 for PropWare by
1.8.12