User Activity

  • Posted a comment on discussion Open Discussion on GCBASIC

    Ok, thank you for informations. I will use 12bit

  • Posted a comment on discussion Open Discussion on GCBASIC

    Your code works similarly to mine, i.e. wrong

  • Posted a comment on discussion Open Discussion on GCBASIC

    I have one more problem with this PIC, it doesn't work #define AD_REF_SOURCE AD_REF_2048 always is enabled AD_REF_AVCC.

  • Posted a comment on discussion Open Discussion on GCBASIC

    OK I will wait, below is my listing #CHIP 18F56Q71,64 #OPTION Explicit #startup InitPPS, 85 #define PPSToolPart 18F56Q71 Sub InitPPS // Module: UART pin directions Dir PORTB.1 Out ' Make TX2 pin an output // Module: UART2 RB1PPS = 0x0018 // TX2 > RB1 11000 End Sub Dir Porta.2 In'asc Dir Portc.7 out'led 'analogue port selection #define AdRefSource = AD_REF_AVCC #DEFINE ADCChannelSelected ANA2 #DEFINE ADSpeed highSpeed #define AD_Delay 4 10us dim pot1 as integer #define USART2_BAUD_RATE 9600 #define...

  • Posted a comment on discussion Open Discussion on GCBASIC

    Word gives the numbers 65535 when the voltage is low

  • Posted a comment on discussion Open Discussion on GCBASIC

    When I use integer variable to read AD10 , then I receive -500 to 1300 ADC, if I use AD 8bit, then is correct 0-255 , at reading AD12 I have 0-4095 ADC. It is certain that something is not working in AD10.

  • Modified a comment on discussion Open Discussion on GCBASIC

    Still is not good, with AD_REF_AVCC and "true" at 3.3V is 1023, but in the vicinity of low voltages when the ADC reaches 0, continue turning the ADC potentiometer indicates above 65000. I use Curiosity nano, maybe is hardware problem...

  • Modified a comment on discussion Open Discussion on GCBASIC

    Still is not good, with AD_REF_AVCC and "true" at 3.3V is 1023, but in the vicinity of low voltages when the ADC reaches 0, continue turning the ADC potentiometer indicates above 65000

View All

Personal Data

Username:
mototest
Joined:
2023-12-20 09:29:08.800000

Projects

  • No projects to display.

Personal Tools