Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

State of art of developing #4

Open
CarCarlo1977 opened this issue Nov 30, 2022 · 2 comments
Open

State of art of developing #4

CarCarlo1977 opened this issue Nov 30, 2022 · 2 comments

Comments

@CarCarlo1977
Copy link

CarCarlo1977 commented Nov 30, 2022

Hi,
im trying to install this CAM90 driver but the images are totally black (0 values). When i use the Cam87 driver with some mod such as new width and height and pixel size and Instead the results is something like the attached image.

There is some that i'm missing?
Schermata 2022-11-30 alle 13 29 48

@gehelem
Copy link
Owner

gehelem commented Nov 30, 2022

Hi
This repo used to be a work in progress...
(Since i don't own a cam90 myself)
I should mark it "archived"
Sorry but i can't help on this specific question
G.

@CarCarlo1977
Copy link
Author

Thanks Gehelem!
i noted that changing some of parameters in that part of code in cameraStartExposure function something different happens.
Maybe someone could help to develop a working driver.

From CAM90 repo
if ( bin==2 ) {
kolbyte=FWidthFWidth;//Changed in CAM90
Spi_comm ( 0x8B,1 ); //bining
mBin=1;
} else {
kolbyte=FWidth
FWidth*2;
Spi_comm ( 0x8B,0 ); //no bining
mBin=0;
}

From CAM87 repo with my edits.

if ( bin==2 ) {
kolbyte=mdeltY6000; //changed with witdth of cam90
Spi_comm ( 0x8B,1 ); //bining
mBin=1;
} else {
kolbyte=mdeltY
15600; //changed with witdth of cam90
Spi_comm ( 0x8B,0 ); //no bining
mBin=0;
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants