What about uart1 pins on esp8266 micropython? - esp8266

I'm totally confused on esp8266 micropython for uart1,
The rx and tx pins in uart1
are one of which pins are 2 and 8 or 8 and 7?

Related

Is it possible to use beaglebone (black) analog pins as GPIOs?

Analog pins of arduino boards can be used as GPIO but is it also possible for the beaglebone boards ? Especially the black model.
And if it is possible, how to do it ?
Please refer to e.g. the BBB SRM (System Reference Manual), specifically: 7.1.2 Connector P9 or "Table 13. Expansion Header P9 Pinout" in the PDF version.
tl;dr: no
Please also note that those pins only tolerate up to 1.8V. Applying any higher voltage will destroy the ADC and possibly affect the whole chip.

Why did CMMotionManager update interval slow down in iOS 10

I am developing an app that requires high speed motion data (approximately 80hz). As of iOS 10 my app is reporting that motion data is coming in only at 67 Hz. In iOS 7 through 9 the same exact code was report a stable 80 to 81 Hz.
Has anything changed in CMMotionManager that would be causing this slow down?
This appears to be a bug in iOS 10. If the requested Hz setting set on CMMotionManager accelerometerUpdateInterval is between 60Hz and 89 Hz, motion data will come in at 67 Hz. And if it set to 90Hz or above, the motion data will come in at 100Hz. Anything below 60 Hz behaves as it did before iOS 10.
Edit: I did some more checking across a broad selection of updateIntervalSettings on both iOS 9 and iOS 10. And what I found is that any setting below 50 Hz works as expected but if you set speeds above that you will get unexpected update intervals for the motion sensors. The most egregious error I found was on iOS 9 when the update interval is set to 80 Hz the sensors were reporting in at 47 Hz.

Moving the i2c and SPI physical pin location on Beaglebone Black

I have found descriptions on how to use the GPIO on Beaglebone, but what I am looking for is how to re-assign the pinout of P8 and P9.
I want to assign the SPI to a different pin set to what it already is. I wish to group the PWM's in one area, (as they are currently spread all over the board) and I wish to assign the I2C bus to a different pinset. any ideas?
Thanks Phil
That's not possible. Each pin may have multiple modes that you can enable but that set of modes is fixed for each pin and you can't move them around arbitrarily.

iPads and Dual 150 GPS Bluetooth

How does an external bluetooth gps like the dual 150 integrate with the CLLLocationManager? Does it automatically integrate or is there a special API that is used to work with the external GPS rather than the internal GPS?
So it turns out that it does "automatically" integrate with Location Services using the Dual App from the App Store.
Ensure that the device is in "Apple" mode (switch near power socket)
Ensure that device is paired with YOUR IOS device (IOS Bluetooth Settings)
Ensure that the Dual blue light is solid (Bluetooth Paired)
Ensure that the Dual green light is flashing (GPS Synching) or solid (GPS Synched)
if off rerun the Dual App
If still not working, power cycle Dual, goto 1.
If still not working, power cycle IOS device, goto 1.

iOS data over data headphone port

Hardware accessories like the Square Card Reader use the audio (headphone) port to transfer data.
What API in the iOS SDK accomplish this?
If you look on your official Apple headphones, there's 3 rings around the connector tip. Usually headphones only have two (I assume, one for left channel, other for right channel). The 3rd ring is meant for the waveforms being sent from the volume controls on the headphones.
If you custom built your own hardware, you can send waveforms over that 3rd ring tip using Core Audio and have your app respond to any controls on the hardware.

Resources