schoolpost / BlueMagic32

Arduino ESP32 Library for connecting to Blackmagic Cameras using Bluetooth Low Energy.
GNU Lesser General Public License v2.1
95 stars 17 forks source link

getZoom, getFocus, getShutter #1

Closed f-rank closed 4 years ago

f-rank commented 4 years ago

Hi, was trying the examples and changed one to try and get values for the zoom, focus and shutter, though those don't show up. F-Stop and White Balance do show up.

When I use zoom on the Ursa Broadcast it does refresh the M5stickc screen and doesn't refresh after it hits the start and the end of the zoom, so I guess the change is detected. But for some reason I don't get values.

I tried: printOnScreen(0, 16, String(BMDControl->getShutter()) + "°"); printOnScreen(0, 32, String(BMDControl->getZoom())); printOnScreen(0, 48, String(BMDControl->getFocus()));

Probably missing something really basic here, maybe it is the B4 implementation on this particular model, but would appreciate any help on this issue. Thanks.

schoolpost commented 4 years ago

hi f-rank,

Good catch, I forgot to document but these are methods that are not completely implemented yet.

Csaba Nagy

f-rank commented 4 years ago

Thank you for taking the time to explain, and for the all around awesomeness.