libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
rng.h
Go to the documentation of this file.
1#pragma once
2#include "daisy_core.h"
3
4namespace daisy
5{
12class Random
13{
14 public:
15 Random() {}
17
25 static void Init();
26
28 static void DeInit();
29
43
50 static float GetFloat(float min = 0.f, float max = 1.f);
51
56 static bool IsReady();
57};
58
59} // namespace daisy
Definition leddriver.h:33
True Random Number Generator access.
Definition rng.h:13
static float GetFloat(float min=0.f, float max=1.f)
static void Init()
static void DeInit()
static bool IsReady()
Random()
Definition rng.h:15
static uint32_t GetValue()
~Random()
Definition rng.h:16
Hardware defines and helpers for daisy field platform.
Definition index.h:2