This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compareCfg.CompareValue = min(period - 96, max(95, previousValue + update)); | |
previousValue = compareCfg.CompareValue; | |
if (compareCfg.CompareValue < 96) { | |
stopped_timer = true; | |
HAL_HRTIM_WaveformOutputStop(&hhrtim1, | |
HRTIM_OUTPUT_TC1); | |
HAL_HRTIM_WaveformSetOutputLevel(&hhrtim1, | |
HRTIM_TIMERINDEX_TIMER_C, | |
HRTIM_OUTPUT_TC1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that "jose_luu.id" is my Blockstack ID. https://onename.com/jose_luu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.0; | |
contract Roulette { | |
uint public lastRoundTimestamp; | |
uint public nextRoundTimestamp; | |
address _creator; | |
uint _interval; |