Search found 197 matches
- Tue Apr 29, 2025 1:55 pm
- Forum: Bug Reports
- Topic: UART Macro wont compile after update.
- Replies: 7
- Views: 264
Re: UART Macro wont compile after update.
Sasi, Thanks. I installed and linked to V2.50 and the program now compiles without issue. Unfortunatly I dont have any AV inputs to check for you. I'm doing everything through I2C and a Single UART Tx pin. I run the comms to the PC using Hardware UART @57600. I would be interested in any thoughts fr...
- Tue Apr 29, 2025 11:01 am
- Forum: Bug Reports
- Topic: UART Macro wont compile after update.
- Replies: 7
- Views: 264
Re: UART Macro wont compile after update.
Hi, Thanks. Latest version on Microchip website if Ver 3.00. Is the recomendation to roll back to v2.50? or is 3.00 good? If I installed the latest 3.00 XC8 compiler directly would I need to re-direct the FC complier settings? Global Settings / Locations / PIC - change path to new compiler install l...
- Tue Apr 29, 2025 9:45 am
- Forum: Bug Reports
- Topic: UART Macro wont compile after update.
- Replies: 7
- Views: 264
UART Macro wont compile after update.
Hi, If I enable a certain user macro, it wont compile. This macro uses UART and has run without fault for many years. Fault exists in both software and hardware mode. C:\Users\jdwed\Desktop\FlowCode>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8-cc.exe" -mcpu=18F4680 "...
- Mon Apr 28, 2025 7:51 pm
- Forum: Feature Requests
- Topic: Add Logical Operators to Variables Menu
- Replies: 1
- Views: 110
Add Logical Operators to Variables Menu
Hi, I always seem to forget my logical vs Bitwise operators and then find the wrong type when debugging! The variables menu is very handy and has a usful list of Numerical Built in Functions. This lists bitwise AND, OR, etc.. although there are not Mathmatical as such, it would be very hand to have ...
- Thu Apr 24, 2025 1:46 pm
- Forum: Projects - Embedded
- Topic: Pulse Measurement CCP & ECCP both using single Timer
- Replies: 1
- Views: 205
Pulse Measurement CCP & ECCP both using single Timer
Hi Guys, measuring a Pulse with a PIC. Using interrupts, Capture using CCP and ECCP and both use Timer 3. My ISR reads the timer value accumalated between the interrupts. Then resets both Timer 3 and the ECCP Timer register. I can get either to work fine but not both. I assume this is because, when ...
- Tue Apr 15, 2025 9:35 am
- Forum: Projects - Embedded
- Topic: HOLTEK HT16K33 setting Slave address Progmatically
- Replies: 9
- Views: 6569
Re: HOLTEK HT16K33 setting Slave address Progmatically
Hi, So bit of a marathon 12 hours on this yesterday. I can get multiple HT16K33 IC to talk on the same i2C bus !! Amazing!! but I have to run the i2C in software mode. I am using the 'Change address macro' as Supplied by Martin. So this is looking good, in software mode at least. A) By default I alw...
- Fri Apr 11, 2025 1:33 pm
- Forum: Projects - Embedded
- Topic: HOLTEK HT16K33 setting Slave address Progmatically
- Replies: 9
- Views: 6569
Re: HOLTEK HT16K33 setting Slave address Progmatically
Hi, I have a simplified hardware setup on the bench to remove any possible hardware issues. Just using 2x Adafruit 7 Segments with Holteck Backpacks. I can write indiviidually to both modules, one is i2C address 0x71 the other is 0x72 However I cannot 'hot-swap' between the two. When I enable the ch...
- Mon Apr 07, 2025 12:20 pm
- Forum: Projects - Embedded
- Topic: HOLTEK HT16K33 setting Slave address Progmatically
- Replies: 9
- Views: 6569
Re: HOLTEK HT16K33 setting Slave address Progmatically
So this DIY initialise seems to work for a single IC. With a manually set address 0x71 + Write = 0xE2. I have to use the Change address macro at the start so this Macro is clearly setting the correct Address to the rest of the FC code. Init.JPG So.. even if the Slave Address is set to another number...
- Mon Apr 07, 2025 12:12 pm
- Forum: Projects - Embedded
- Topic: HOLTEK HT16K33 setting Slave address Progmatically
- Replies: 9
- Views: 6569
Re: HOLTEK HT16K33 setting Slave address Progmatically
Hi, No luck as yet trying to talk to 2 IC's. Just including the Address change macro causes the whole program to cycle very slowly, like its waiting for some error to timeout. (maybe) I think another issue might be that each HT16K33 need to be initialised, setting each IC's internal oscillator on. I...
- Tue Apr 01, 2025 9:36 pm
- Forum: Projects - Embedded
- Topic: HOLTEK HT16K33 setting Slave address Progmatically
- Replies: 9
- Views: 6569
Re: HOLTEK HT16K33 setting Slave address Progmatically
Thanks Martin, that is great. I have PCBs turning up at the end of this week so I'll try in on hardware ASAP and report. J.