The digital input isn't working. What might I have configured incorrectly?
Please help.
MCU: PIC18F47Q10
I am uploading the project.
Title:
Description:
Device: PIC.18F.18F47Q10
Generated by: Flowcode v11.0.2.17
Date: Wednesday, September 09, 2026 17:34:54
Users: 1
Registered to:
Licence key:
https://www.flowcode.co.uk
Using <2.50> user settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files\Microchip\xc8\v2.50\pic\bin\" 18F47Q10 "C:\Share_KDT2\!Project_Ing\260906-YEOSUWA-HumanCount\Program\" "260909-Counter"
C:\Share_KDT2\!Project_Ing\260906-YEOSUWA-HumanCount\Program>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589A9CE866D3EBD48DE4910375451077F45562AF2F62E9AB6760C3CAEE8E7DA6987B08235BD4F165DE350CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE464087EABAE4073CCE8590A2034B265B899B535CCC0630944A53779878588293DF04F96FE36F6B2B
C:\Share_KDT2\!Project_Ing\260906-YEOSUWA-HumanCount\Program>REM REVISION: 5.0
C:\Share_KDT2\!Project_Ing\260906-YEOSUWA-HumanCount\Program>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC
C:\Share_KDT2\!Project_Ing\260906-YEOSUWA-HumanCount\Program>REM DATE: 12\06\2025
C:\Share_KDT2\!Project_Ing\260906-YEOSUWA-HumanCount\Program>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat
C:\Share_KDT2\!Project_Ing\260906-YEOSUWA-HumanCount\Program>"C:\Program Files\Microchip\xc8\v2.50\bin\xc8.exe" --chip=18F47Q10 "260909-Counter.c" --double=32 --float=32 --msgdisable=359,1273,1388
C:\Program Files\Microchip\xc8\v2.50\pic\bin\picc18 @C:\Users\daniel\AppData\Local\Temp\xcAsft0.\xc8_tmp_0.cmd [ --chip=18F47Q10 260909-Counter.c --double=32 --float=32 --msgdisable=359,1273,1388 ]
Microchip MPLAB XC8 C Compiler V2.50
Build date: Jul 25 2024
Part Support Version: 2.50
Copyright (C) 2024 Microchip Technology Inc.
License type: Node Configuration
legacy HI-TECH support is deprecated and will be discontinued in a future release; consult the release notes for more details
legacy C90 library is deprecated and will be discontinued in a future release; consult the release notes for more details
using updated 32-bit floating-point libraries; improved accuracy might increase code size
18F47Q10 Memory Summary:
Program space used 6B0h ( 1712) of 20000h bytes ( 1.3%)
Data space used 77h ( 119) of D1Fh bytes ( 3.5%)
Configuration bits used 6h ( 6) of 6h words (100.0%)
EEPROM space used 0h ( 0) of 400h bytes ( 0.0%)
ID Location space used 0h ( 0) of 100h bytes ( 0.0%)
Compilation successful!
.
Using <2.50> user settings for linker
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v11\tools\DoNothing\DoNothing.exe
FINISHED
Digital Input read error
-
seokgi
- Posts: 246
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 1:43 pm
- Has thanked: 8 times
- Been thanked: 9 times
Digital Input read error
- Attachments
-
- 260909-Counter.fcfx
- (24.99 KiB) Downloaded 7 times
- (view online)
-
mnfisher
- Valued Contributor
- Posts: 2173
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 177 times
- Been thanked: 1016 times
Re: Digital Input read error
What do you mean 'doesn't work' - looks to compile successfully..
Does the heartbeat 'pulse'? Can you output anything to RS232?
Martin
Does the heartbeat 'pulse'? Can you output anything to RS232?
Martin
Re: Digital Input read error
It works correctly with compiler version 2.10. With compiler version 2.50, it compiles successfully and the UART functions properly; however, the digital input fails to read values. I have not tested other functions.