Search found 4 matches

by demoman
Sun Mar 16, 2014 5:18 pm
Forum: Kitchen sink
Topic: Program Rolling Table in C
Replies: 3
Views: 7832

Re: Program Rolling Table in C

Copying data always takes time, as your buffer is a multiple of 2 why not just wrap around within the buffer. tablePtr = 0; // initial value ... Table[tablePtr++] = sample; tablePtr &= 63; // wrap around buffer ... // as an example for reading the last 64 values -- add them up sum = 0; for (i=0; i<6...
by demoman
Thu Feb 06, 2014 2:59 pm
Forum: Future products
Topic: wireless LCD
Replies: 5
Views: 15971

Re: wireless LCD

Here's a quick picture of the setup
WirelessLCD.jpg
WirelessLCD.jpg (130.06 KiB) Viewed 15968 times
by demoman
Wed Feb 05, 2014 11:38 pm
Forum: Future products
Topic: wireless LCD
Replies: 5
Views: 15971

wireless LCD

I got one of the special wireless LCD prototypes (uses the BASICchip and a NewHaven display)

http://coridium.us/custom6.php

And have a quick demo running on it in BASIC (source below)
wirelessLCD.bas
(4.48 KiB) Downloaded 988 times
by demoman
Fri Jul 12, 2013 2:39 pm
Forum: Serial Communication
Topic: Loss of communication
Replies: 2
Views: 12832

Loss of communication

I picked up a new machine (PC) recently. When I started downloading large BASIC programs, there were often loss of communication errors. Seemed like it had to do with certain constructs being used in BASIC, so I eliminated those, but... Recently it started happening more frequently. So I updated the...