比較提交
2 個提交
c684ac560f
...
e5593747cf
作者 | SHA1 | 日期 | |
---|---|---|---|
e5593747cf | |||
|
62f74ad36d |
共有 2 個檔案被更改,包括 2 行新增 和 4 行删除
二進制
OtherDevices/.DS_Store
vendored
二進制
OtherDevices/.DS_Store
vendored
未顯示二進位檔案。
|
@ -10,14 +10,12 @@ void AnalogSensorManometre::run(){
|
|||
int cpt = 0;
|
||||
while(1){
|
||||
if(ptrmem!=NULL){
|
||||
if(cpt%5 == 0){
|
||||
if(cpt == 5){
|
||||
*ptrmem = val - alea;
|
||||
cpt = 0;
|
||||
}
|
||||
}
|
||||
sleep(temps);
|
||||
cpt++;
|
||||
if(cpt == 10000){
|
||||
cpt = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
載入中…
新增問題並參考