Programing ATtiny84 with BeeProg2 No, do not convert the output file of the AVR compiler/assembler into BIN (binary).
The output file that you will be using is the .hex file, which the BeeProg2...
Friday, 11 March 2022 - 00:37
Question About TCCR You ask us to debug a timer operation but you don't tell us the system clock speed, so I'm going to assume that it is the factory default for the Mega8: 1MHz. With a 1024...
PIC32 Wi-Fi module I have been looking at these devices (32-bit CPU_+_WiFi) for a few years to get beyond the limitations of the Arduino UNO/Nano (ATmega328P). I bought a 10-pack of WeMos...
Saturday, 5 March 2022 - 14:34
One for the analog engineers This is a pair of painted circuit boards with a lot of jacks, a row of rugged pots, an a 7-segment LCD display. Internally there are, I estimate, four quad-op-amp IC...
Saturday, 5 March 2022 - 13:14
Do floating inputs consume power while in power-down mode? I have never developed with the low-power modes, but from reading the datasheets, I believe that there are several of them. As I recall, the deepest-sleep mode requires an...
Saturday, 5 March 2022 - 12:57
Atmega328p Timer 1 interrupt With assembler you must take care about the order that you write and read 16-bit registers like the OCR1AH:OCR1AL. Check the datasheet.
Your code has no way to turn...
iterate over an enum I've never seen namespace used in an embedded-systems program before.
Normally, this would be coded like:
// kitchen door switch is on PortB2 Truth table: open=LOW closed=...
Wednesday, 2 March 2022 - 15:27
High voltage programmer for ATtiny10? I don't believe that the Tiny10 actually has high-voltage (+12V) programming. TPI interface is +5V on the pins. Here's an overview: http://www.technoblogy.com/show...
atmega128 code for atmega328 The code that is presented doesn't <do> anything but initialize vaguely an AVR controller. We have no idea about what this device actually does or is supposed to...
No, do not convert the output file of the AVR compiler/assembler into BIN (binary). The output file that you will be using is the .hex file, which the BeeProg2...
You ask us to debug a timer operation but you don't tell us the system clock speed, so I'm going to assume that it is the factory default for the Mega8: 1MHz. With a 1024...
The sensorStatus-testing while() loop should be inside the main()'s while(1) loop. Don't turn the timer off and on. Leave it to run as a 1mS system "heartbeat...
I have been looking at these devices (32-bit CPU_+_WiFi) for a few years to get beyond the limitations of the Arduino UNO/Nano (ATmega328P). I bought a 10-pack of WeMos...
This is a pair of painted circuit boards with a lot of jacks, a row of rugged pots, an a 7-segment LCD display. Internally there are, I estimate, four quad-op-amp IC...
I have never developed with the low-power modes, but from reading the datasheets, I believe that there are several of them. As I recall, the deepest-sleep mode requires an...
With assembler you must take care about the order that you write and read 16-bit registers like the OCR1AH:OCR1AL. Check the datasheet. Your code has no way to turn...
First let me tell you what this chip needs to get done: - Activate a timer while an input (let's call it In0) is HIGH; >>> a timer gets started when In0 goes HIGH...
I've never seen namespace used in an embedded-systems program before. Normally, this would be coded like: // kitchen door switch is on PortB2 Truth table: open=LOW closed=...
I don't believe that the Tiny10 actually has high-voltage (+12V) programming. TPI interface is +5V on the pins. Here's an overview: http://www.technoblogy.com/show...
I would suspect that the ADLAR bit in ADCSRA (left-adjust the results) is wrong.
The code that is presented doesn't <do> anything but initialize vaguely an AVR controller. We have no idea about what this device actually does or is supposed to...
Pages