Post Created date
Attiny85 programmer
To program my fresh attiny85 chips I used this for avrdude with a USBasp: avrdude -p attiny85 -c usbasp -B3 -U main.hex This makes it more tolerant of the 'tiny using a lower...
Saturday, 16 August 2014 - 03:39
Arduino Board with Atmega328P Power Supply
Simonetta wrote:Your 12v (12v under full load: 16v with no or light load...
Friday, 15 August 2014 - 03:31
Arduino Board with Atmega328P Power Supply
Do you have a picture of the board? The ones I'm familiar with have 12V as an upper limit, otherwise the regulator will dissipate excessive heat. The current of the input doesn't...
Friday, 15 August 2014 - 01:43
Another one with trouble doing shifting in 32bit variable.
Pretty obvious from the first post: 0xAA<<8 will be 0xffffaa00 when converted to a long on a machine with a 16-bit int, because 0xaa<<8 is an int expression that...
Thursday, 14 August 2014 - 19:45
ButShift always end up at 0 ??
Koshchi wrote:Quote:which as far as I can tell works as you want hereNo it doesn't. It puts 52 into UBRR0H. Surprising. What compiler causes this? From what I can tell, the -...
Thursday, 14 August 2014 - 17:49
ButShift always end up at 0 ??
cartman wrote: #define MYUBRR (F_CPU / 16 / BaudRate ) - 1 That's just asking for trouble. cartman wrote: /*Set baud rate */ UBRR0H = (unsigned char)(MYUBRR>>8); UBRR0L = (...
Thursday, 14 August 2014 - 04:55
Build a circuit for detecting eye movement
johnrk wrote:In this case the maker simply set up a visual cuing LED that is triggered by a timer. He estimates the time required to enter REM and then triggers the LED's with a...
Monday, 4 November 2013 - 03:46
Arduino .H and .C libraries
Replacing % with % in your post: Quote:Reopening the thread snigelen's code works great, except that it only operates on 24 hour time, not 12 hour. He was nice enough to post this...
Monday, 4 November 2013 - 03:28
Port bit masks rather than bit numbers?
kk6gm wrote:One thing useful about the << notation is being able to write things like (7<<SOME_FIELD0) rather than SOME_FIELD2 | SOME_FIELD1 | SOME_FIELD0. 7*...
Monday, 4 November 2013 - 01:35
feedback necessary for micro-stepping?
bobgardner wrote:"I've heard" that microstepping stops improving resolution after about 16 microsteps, but I don't know what that means. Seems if you drive the coils with 16 bit...
Sunday, 3 November 2013 - 18:45
data definition has no type or storage class
Torby wrote: RemPut(uint8_t dt, uint16_t i, uint8_t * value, uint8_t siz) ; I have this line of code in a .h file. The compiler points to it and complains. In the future it...
Sunday, 3 November 2013 - 04:28
table look up
T a [x] // array of x T objects T a [y] [x] // array of y arrays of x T objects. // A progression: // Single char: char c = 'N'; // String of fixed size: char s [4] = "N00...
Saturday, 2 November 2013 - 01:32

Pages