Skip to content

Instantly share code, notes, and snippets.

View joseluu's full-sized avatar

Jose Luu joseluu

  • Paris, France
View GitHub Profile
@joseluu
joseluu / Roulette.sol
Last active December 10, 2017 13:04 — forked from scastiel/Roulette.sol
pragma solidity ^0.4.0;
contract Roulette {
uint public lastRoundTimestamp;
uint public nextRoundTimestamp;
address _creator;
uint _interval;
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,
Verifying that "jose_luu.id" is my Blockstack ID. https://onename.com/jose_luu