Searched refs:pulsensor (Results 1 – 4 of 4) sorted by relevance
88 Pulsensor *pulsensor = static_cast<Pulsensor *>(arg); in do_sample() local90 while (pulsensor->ctx_counter) { in do_sample()91 data_from_sensor = pulsensor->pin_ctx.read (); in do_sample()92 pulsensor->ret = FALSE; in do_sample()94 pulsensor->sample_counter += 2; in do_sample()95 int N = pulsensor->sample_counter - pulsensor->last_beat_time; in do_sample()97 if (data_from_sensor < pulsensor->threshold && in do_sample()98 N > ( pulsensor->ibi / 5)* 3) { in do_sample()99 if (data_from_sensor < pulsensor->trough) { in do_sample()100 pulsensor->trough = data_from_sensor; in do_sample()[all …]
1 set (libname "pulsensor")
32 add_executable (pulsensor-example pulsensor.cxx)165 include_directories (${PROJECT_SOURCE_DIR}/src/pulsensor)292 target_link_libraries (pulsensor-example pulsensor ${CMAKE_THREAD_LIBS_INIT})
100 pulsensor.cxx PulsensorSample.java