summaryrefslogtreecommitdiff
path: root/c/randomnumbers/randomnumbers.c
blob: b0e0d13dcca405a491061c74f9612ed5a461f6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Random Number Thing for RVController
 * A product of Advanced Mesecons Devices, a Cheapie Systems company
 * This is free and unencumbered software released into the public domain.
 * See http://unlicense.org/ for more information */

#include <stdint.h>
#include "rvcontroller-ecalls.h"

void main(void) {
	for (;;) {
		printint(randomint(0,999999));
		printchar('\n');
	}
}