Status: Assigned
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 99 by [email protected]: set_analog_pin does not generate code
http://code.google.com/p/jallib/issues/detail?id=99

What steps will reproduce the problem?

;@jallib section chipdef
-- chip setup
include 18f4450

pragma target clock       48_000_000


include delay

-- const ADC_NCHANNEL      = 2
const ADC_Rsource    = 1_000
const ADC_high_resolution = true
const ADC_NVref      = 0         ;number of external references

include adc

adc_init()


-- does not generate code
set_analog_pin(1)
set_analog_pin(2)
set_analog_pin(3)

forever loop

end loop


What is the expected output? What do you see instead?

const ADC_NCHANNEL      = 2 is not allowed and specifies that I should use
set_analog_pin, but using set_analog_pin does not generate any code




--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to