Search found 2 matches

by nawaphun
Sat Feb 13, 2010 9:19 am
Forum: WinCE Development
Topic: VB.NET Sample - LED Control
Replies: 16
Views: 15403

Re: VB.NET Sample - LED Control

nicolas, Today i have many tried to read manual but i have only seen "0x58000000" for adccon. before this i download example in c++ from friendlyarm.net i think this code is a address of adc int CALLBACK ReadAdc(int ch) { m_p2440ADC->rADCCON = (1<<14)|(20<<6)|(ch<<3); //setup channel m_p2440ADC->rAD...
by nawaphun
Fri Feb 12, 2010 6:31 am
Forum: WinCE Development
Topic: VB.NET Sample - LED Control
Replies: 16
Views: 15403

Re: VB.NET Sample - LED Control

nicolas, thank you for your post i have use your example but i can't use function "ADCCON()" i think that because of "Shared iADCCON As New PhysicalAddressPointer(&H58000000, &H1)". pls tell me how to use this function for chanel adc(0) to adc(4) in mini2440 thank you very much.