# \#function

**URL:** https://forums.digi.com/tag/function/1724.md

[Latest](https://forums.digi.com/latest.md) · [Categories](https://forums.digi.com/categories.md) · [Tags](https://forums.digi.com/tags.md)

---

## [Python define function](https://forums.digi.com/t/python-define-function/18235)

<div class="topic-metadata">

**Author:** [@Crubal](https://forums.digi.com/u/Crubal)\
**Replies:** 1\
**Last updated:** [April 10, 2017, 3:43pm UTC](https://forums.digi.com/t/python-define-function/18235 "2017-04-10T15:43:43Z")

</div>

The following Error Message shows up in the last ‘Plot’ procedure: In Z(Q), ‘numpy.float64’ object is not iterable. I would like Z(Q) returns value that sum each i in the range (0, len(p)), which is a function with vari…

---

## [LED controlled by switch using Pro S2B modules](https://forums.digi.com/t/led-controlled-by-switch-using-pro-s2b-modules/16911)

<div class="topic-metadata">

**Author:** [@DubuqueGuy](https://forums.digi.com/u/DubuqueGuy)\
**Replies:** 3\
**Last updated:** [June 14, 2016, 11:39am UTC](https://forums.digi.com/t/led-controlled-by-switch-using-pro-s2b-modules/16911 "2016-06-14T11:39:07Z")

</div>

Hi all, I’m a totally new user to Xbee devices. I purchased two Xbee Pro S2B radios. I got one configured as a Router in API mode, and the other as coordinator in API. When I’m in Xctu, and set working mode to Network…

---

## [R6000 PC2 always is alternate function](https://forums.digi.com/t/r6000-pc2-always-is-alternate-function/13746)

<div class="topic-metadata">

**Author:** [@AlanS](https://forums.digi.com/u/AlanS)\
**Replies:** 2\
**Last updated:** [October 21, 2014, 11:12am UTC](https://forums.digi.com/t/r6000-pc2-always-is-alternate-function/13746 "2014-10-21T11:12:10Z")

</div>

On the R6000, I use PC3 as the serial TXC port. PC2 is set as normal function. However, when the serial port C is opened, PC2 suddenly becomes TXC. What’s going on? Anyone seen this happen? The code: WrPortI (PCDDR,…
