Post Created date
ADC0 and ADC1 are not working
Kartman wrote: You can keep on guessing or you can Google the solution in 10 seconds. Here's what I found: uint16_t adc_read(uint8_t ch) { // select the corresponding channel 0...
Monday, 6 November 2017 - 01:50
ADC0 and ADC1 are not working
Kartman wrote:You never wait for the ADC to finish! You need to poll the ADSC bit to see when the adc has finished. Or this?   void casos(){ g++; switch(g) {...
Sunday, 5 November 2017 - 23:36
ADC0 and ADC1 are not working
Kartman wrote:You never wait for the ADC to finish! You need to poll the ADSC bit to see when the adc has finished.   case 2: if(ADSC==1) { ADMUX= 0B01000001...
Sunday, 5 November 2017 - 23:29
Temperature LCD is not working with C language
JohanEkdahl wrote: Looking at the code in the original post:   1. I see no initialization of the LCD controller   2. Why is inline assembler used? What does it do? Why...
Thursday, 12 October 2017 - 08:17
Temperature LCD is not working with C language
JohanEkdahl wrote: Looking at the code in the original post:   1. I see no initialization of the LCD controller   2. Why is inline assembler used? What does it do? Why...
Thursday, 12 October 2017 - 07:52
Temperature LCD is not working with C language
JohanEkdahl wrote: volterius wrote:the display is not working You need to be more specific than that. What did you expect would happen? What actually happened?   Three notes...
Thursday, 12 October 2017 - 07:22
Temperature LCD is not working with C language
JohanEkdahl wrote: Learn how to post code properly. Use the button marked <> just above the space where you write your post text (not actually typing < and...
Thursday, 12 October 2017 - 07:03
OPERAND 1 OUT OF RANGE: 0x7A
volterius wrote: hello the code worked well, but at the time of simulating using proteus, the value shown on the LCD is half of the value delivered by the LM35: I think that the...
Monday, 9 October 2017 - 00:45
OPERAND 1 OUT OF RANGE: 0x7A
hello the code worked well, but at the time of simulating using proteus, the value shown on the LCD is half of the value delivered by the LM35: I think that the solution is the...
Sunday, 8 October 2017 - 23:48
OPERAND 1 OUT OF RANGE: 0x7A
JohanEkdahl wrote: volterius wrote: I used: LDI R25, 0x40 OR ADCSRA, R25   But the error continue.   Yes, bevcause the OR instruction can not handle ADCSRA, which is an...
Sunday, 8 October 2017 - 20:15
OPERAND 1 OUT OF RANGE: 0x7A
jgmdesign wrote: You cannot alter a bit using STS.  You will need to set up the bits in a temp register, then use the OR instruction to set the bit.   In your case: LDI...
Sunday, 8 October 2017 - 19:52
OPERAND 1 OUT OF RANGE: 0x7A
jgmdesign wrote: I just created a test project and loaded your code and hit BUILD, and got the same errors.  All of them are very straight forward:   Error  ...
Sunday, 8 October 2017 - 19:16

Pages