# How to use data from accelerometer to control camera and perspective in Processing

**URL:** https://discourse.processing.org/t/how-to-use-data-from-accelerometer-to-control-camera-and-perspective-in-processing/36799
**Category:** Electronics (Arduino, etc.)
**Created:** [May 10, 2022, 11:49am UTC](https://discourse.processing.org/t/how-to-use-data-from-accelerometer-to-control-camera-and-perspective-in-processing/36799 "2022-05-10T11:49:11Z")
**Posts on this page:** 1
**Showing post:** 23

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [May 10, 2022, 9:35pm UTC](https://discourse.processing.org/t/how-to-use-data-from-accelerometer-to-control-camera-and-perspective-in-processing/36799/23 "2022-05-10T21:35:36Z")

</div>

> [@EllenYang](#):
>
> well I added another }

works here…

> [@EllenYang](#):
>
> Also, it’s not receiving Serial data…

too bad…

Are you using a Windows PC?

see [Trouble with multiple COM ports -import processing.serial.\*;](https://discourse.processing.org/t/trouble-with-multiple-com-ports-import-processing-serial/9049)

---

_[View the full topic](https://discourse.processing.org/t/how-to-use-data-from-accelerometer-to-control-camera-and-perspective-in-processing/36799)._
