Hi there,
I got the following problem:
I want to the CMPS10 acceleromometer sensor and the Espruino Wifi at the same time. I'm now struggeling getting them to run smoothly. As soon as I call espruino_wifi.connect (whereas espruino_wifi references the EspruinoWiFi module) the data from I2C Bus freezes somehow and the sensor does not deliver any data anymore. I'm powering the sensor through the 3.3V output on the Espruino Board.
Separatly they work beautifully.
Thank you in advance for any idea :)
The three numbers are readings from my sensor. As soon as the WiFi module kicks in, the values freeze.
Solved it :) It was like I expected. Wired the compass module directly to the 5V USB output on the board and it works now. I was just unsure, whether the module supports 5 Volts or not. Thank you data sheet - it does.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
Tips:
Create headers by underlining text with ==== or ----
To *italicise* text put one asterisk each side of the word
To **bold** text put two asterisks each side of the word
Embed images by entering: ![](https://www.google.co.uk/images/srpr/logo4w.png) That's the hard one: exclamation, square brackets and then the URL to the image in brackets.
* Create lists by starting lines with asterisks
1. Create numbered lists by starting lines with a number and a dot
> Quote text by starting lines with >
Mention another user by @username
For syntax highlighting, surround the code block with three backticks:
```
Your code goes here
```
Just like Github, a blank line must precede a code block.
If you upload more than 5 files we will display all attachments as thumbnails.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi there,
I got the following problem:
I want to the CMPS10 acceleromometer sensor and the Espruino Wifi at the same time. I'm now struggeling getting them to run smoothly. As soon as I call espruino_wifi.connect (whereas espruino_wifi references the EspruinoWiFi module) the data from I2C Bus freezes somehow and the sensor does not deliver any data anymore. I'm powering the sensor through the 3.3V output on the Espruino Board.
Separatly they work beautifully.
Thank you in advance for any idea :)
The three numbers are readings from my sensor. As soon as the WiFi module kicks in, the values freeze.