Main Site Documentation

Serial Camera Module commands


#1

Hi

Just out of interest is there any way of using the old controls for the serial camera module? Even in the C# program help it talks of “serCam.TakePicture()” - which no longer is recognised. That is the built in help within Visual Studio and also the support documents https://www.ghielectronics.com/docs/62/camera-module#638

Is there a more up to date version of the documents where the commands to just take a picture are described or can I “roll back” the way Visual Studio commands the camera?

Thanks


#2

These are two different Camera modules. The documentation you have mentioned is for the USB camera for mainboards that support USB Host (Spider is one of them).

Tutorial for Serial Camera module:

https://www.ghielectronics.com/docs/176/serial-camera-module

You can easily make your own TakePicture method by encapsulating the following sequence into one method:

-start streaming
-wait till data is ready
-draw image into bitmap
-stop streaming