Search found 7716 matches
- Fri Dec 15, 2023 10:24 am
- Forum: Flowcode V6
- Topic: PWM Not working
- Replies: 2
- Views: 29850
Re: PWM Not working
The best thing to do is upgrade to Flowcode v10 which can be downloaded from here . All the components are now open source and free! There are no code or macro limitations, unlike all the other free versions. If you use the Free target devices mentioned here then you can develop and compile fully wo...
- Sat Aug 19, 2023 3:21 pm
- Forum: 8-Bit PIC
- Topic: 18F27K40 i2c LCD fails but 18F2320 works
- Replies: 11
- Views: 20381
- Thu Aug 17, 2023 9:29 am
- Forum: 8-Bit PIC
- Topic: 18F27K40 i2c LCD fails but 18F2320 works
- Replies: 11
- Views: 20381
Re: 18F27K40 i2c LCD fails but 18F2320 works
Hi I have tested the I2C LCD with Flowcode versions 7,8,9 & 10 There is only an issue with version 7, it works as expected with the other versions with 18F27K40 @ 64MHz As it does work on FC8 & 9, I would recommend trying a 1-sec flasher test first, to make sure the microcontroller is running at the...
- Tue Mar 28, 2023 10:17 pm
- Forum: Bug reports
- Topic: PIC16F15354 - Non-working I2C & 24C16 Macros
- Replies: 11
- Views: 36941
Re: PIC16F15354 - Non-working I2C & 24C16 Macros
I have added a 1Hz flasher before the start of the EEPROM communication, to confirm the working of the oscillator & the flasher works fine. With the flasher was you using your eye to judge or a scope/logic analyzer? The C code is not needed as the clock is configured in Project Options > Configure ...
- Wed Mar 15, 2023 3:11 pm
- Forum: E-blocks
- Topic: Interfacing flowcode program on adruino BL0055 eblock2 board
- Replies: 9
- Views: 34841
Re: Interfacing flowcode program on adruino BL0055 eblock2 board
Ah, in that case by all means post the reply on here.
But in future, these forums are for Flowcode versions up to v8 only.
For any other v9+ issues, can you please use these Flowcode forums.
When starting a new topic, we recommend using the following post icons:
- Wed Mar 15, 2023 2:36 pm
- Forum: E-blocks
- Topic: Interfacing flowcode program on adruino BL0055 eblock2 board
- Replies: 9
- Views: 34841
Re: Interfacing flowcode program on adruino BL0055 eblock2 board
Hello. With Flowcode closed and the USB lead plugged directly into the Arduino, it should show up within the windows device manager. Check to see what the com port number is and then open your project in Flowcode. Within your Flowcode project select Build > Project options and make sure that the cor...
- Wed Mar 15, 2023 12:53 pm
- Forum: E-blocks
- Topic: Interfacing flowcode program on adruino BL0055 eblock2 board
- Replies: 9
- Views: 34841
Re: Interfacing flowcode program on adruino BL0055 eblock2 board
Hello. To program the Arduino that's on the BL0055 you only need the USB lead plugged directly into the Arduino. The only time the USB is required to be plugged into the BL0055 board is when using ghost or you want to boost the voltage going into the BL0055 and have not got the recommended power sup...
- Mon Mar 13, 2023 12:24 pm
- Forum: Flowcode V6
- Topic: Pushbutton Trigger
- Replies: 23
- Views: 345370
Re: Pushbutton Trigger
Hi John, just to comment on the version of Flowcode you are using. Flowcode v6 is very out of date now so there is no official support for it. In saying that, thank you chipfryer27 for your helpful posts. With the new Flowcode v10 the 16F18877 (updated version of 16F1937) and all the components are ...
- Sat Nov 12, 2022 12:22 am
- Forum: General Programming
- Topic: V9 Arduino chip pack purchase
- Replies: 3
- Views: 8412
Re: Got a good idea for an article?
Hello, SHORTCIRCUIT. Sorry to hear about the issue you are facing and for the lack of email response. chipfryer27 is correct, you should post on the v9 forums. Also, the Tips and tricks section is for posting tips and tricks only, and should not start with a question. Therefore I have moved your pos...
- Fri Oct 28, 2022 8:46 am
- Forum: Flowcode V8
- Topic: String to num 1st Zero lost
- Replies: 3
- Views: 9574
Re: String to num 1st Zero lost
Hello. Leading zeros can't be used for non-strings as they will be treated as octal i.e. to the base 8 rather than base 10 If you did enter a leading zero in an expression eg MyInt = 0123 then the actual value of MyInt will be decimal 83, which will not be what you are expecting. The only way of dis...
- Tue Oct 25, 2022 11:17 pm
- Forum: Flowcode V6
- Topic: LCD 2x16 I2C backlight
- Replies: 17
- Views: 35353
Re: LCD 2x16 I2C backlight
hello.
Yes, I believe it does.
It looks like the module's transistor is biased on via a base bias resistor.
One of the outputs from the PCF8574 pulls the base of the transistor low, to turn the backlight off.
Yes, I believe it does.
It looks like the module's transistor is biased on via a base bias resistor.
One of the outputs from the PCF8574 pulls the base of the transistor low, to turn the backlight off.
- Tue Oct 25, 2022 10:02 pm
- Forum: Flowcode V6
- Topic: LCD 2x16 I2C backlight
- Replies: 17
- Views: 35353
Re: LCD 2x16 I2C backlight
Hi, IC2 LCD is supported in v6. It looks like the enable backlight within properties is not present in V6. However, it's not required as there is a backlight on/off function. I have tested the attached project with my I2C LCD and it is flashing the backlight every second. I have changed the original...
- Tue Oct 25, 2022 8:49 am
- Forum: Flowcode V6
- Topic: LCD 2x16 I2C backlight
- Replies: 17
- Views: 35353
Re: LCD 2x16 I2C backlight
Hi, ule. To control the backlight, you will need to right-click on your LCD and select Properties . Change Use Backlight from No to Yes. The jumper needs to stay in place for the light to be controlled. The state of the backlight will be remembered. With that in mind, if you turn the backlight off, ...
- Thu Oct 20, 2022 10:43 am
- Forum: Flowcode V8
- Topic: Internal Oscillator error 16f1823 & 16f1829
- Replies: 3
- Views: 11050
Re: Internal Oscillator error 16f1823 & 16f1829
Hi Danny. No, it's not your fault with the OSCCON value. You can indeed have OSCCON = 0x70; But if you did, then the PLL Enable within the configuration settings must be set to Yes. In the case of the 16F1823 there is a textual bug. Instead of showing PLL Enable , it's showing VCAP P I have fixed th...
- Wed Oct 19, 2022 5:20 pm
- Forum: Flowcode V8
- Topic: Internal Oscillator error 16f1823 & 16f1829
- Replies: 3
- Views: 11050
Re: Internal Oscillator error 16f1823 & 16f1829
Hello Danny.
Can you enter 32000000 for the Clock speed in your project options, General options tab.
Also, at the very start of Main, add a code block with
Can you enter 32000000 for the Clock speed in your project options, General options tab.
Also, at the very start of Main, add a code block with
Code: Select all
OSCCON = 0xF0;
- Thu Oct 06, 2022 8:36 am
- Forum: General Programming
- Topic: e-blocks 2 purchase problem
- Replies: 1
- Views: 8741
Re: e-blocks 2 purchase problem
Hello.
Sorry to hear about the payment issues.
If this has not been resolved, here is a link for the contact form.
Sorry to hear about the payment issues.
If this has not been resolved, here is a link for the contact form.
- Mon Jul 18, 2022 8:30 am
- Forum: General Programming
- Topic: PIC12F675 display
- Replies: 4
- Views: 10740
Re: PIC12F675 display
Hello. Before purchasing a different microcontroller, you can work out the minimum RAM requirements of a display by multiplying the resolution and then diving by 8. E.g if using 128 x 64, the minim RAM required is 128 x 64 / 8 = 1024 bytes RAM If it was me I would go with the microcontroller that is...
Re: TIMER 2
Hi Bob.
The easiest way is by preloading the timer interrupt with a set value.
I have done that for a timer 0 example.
there is no reason why you can't do that for timer 2 as well.
The easiest way is by preloading the timer interrupt with a set value.
I have done that for a timer 0 example.
there is no reason why you can't do that for timer 2 as well.
- Wed Apr 20, 2022 6:04 pm
- Forum: Flowcode V8
- Topic: PIC18F25K42 problems with SPI
- Replies: 7
- Views: 15703
Re: PIC18F25K42 problems with SPI
I did look up 12bit adc before replying. I have narrowed the search down to PIC18F25K80 or PIC18F26K80 as they both have 28pins and both have 12Bit ADC There are more devices. What I did was to go to MICROCHIP ADVANCED PART SELECTOR Select CPU Type 8-bit MCU Pin count 28 , 28 ADC Resolution 12,12 A ...
- Wed Apr 20, 2022 3:10 pm
- Forum: Flowcode V8
- Topic: PIC18F25K42 problems with SPI
- Replies: 7
- Views: 15703
Re: PIC18F25K42 problems with SPI
Hi Bruno. If you want to use both SPI and I2C in hardware mode then that would not be a possibility with PIC18FXXK42 range of devices. This is because the I2C hardware was dropped due to the registers being completely different to all other devices. The K42 range was only added as it was a user requ...
- Wed Apr 20, 2022 12:35 pm
- Forum: Bug reports
- Topic: I2C PIC18F47K40
- Replies: 2
- Views: 8347
Re: I2C PIC18F47K40
Hi Howard. As v7 is no longer supported, I have attached the I2C.cal from v8 for you to try at your risk in V7 You will need to close Flowocode. Then make a backup copy of your current I2C.cal file found within: C:\Program Files (x86)\Flowcode 7\CAL\PIC Then you can replace it with the attached file.
- Wed Apr 20, 2022 8:36 am
- Forum: Flowcode V7
- Topic: C icon with asm code
- Replies: 8
- Views: 17807
Re: C icon with asm code
That's great.
Thank you for letting us know.
The advantages of XC8 are compile speed and regularly updating with newer targets.
Thank you for letting us know.
The advantages of XC8 are compile speed and regularly updating with newer targets.
- Tue Apr 19, 2022 8:15 am
- Forum: Flowcode V7
- Topic: C icon with asm code
- Replies: 8
- Views: 17807
Re: C icon with asm code
Hello With Flowcode 7 and above XC8 compiler is used instead of BoostC Therefore, what works with V6 assembly won't work with V7+ For example SFR must be in upper case. In your case you can try #asm movlw 0x88 movwf INTCON movlw 0x06 movwf IOC sleep nop #endasm nop and sleep are not directly assembl...
- Fri Apr 08, 2022 4:55 pm
- Forum: Flowcode V8
- Topic: 15V Voltmeter at 3v3 mcu (SOLED)
- Replies: 5
- Views: 9385
Re: 15V Voltmeter at 3v3 mcu
Yes, that is a good way.
The alternative is to measure the two resistances, then plug the values in the above formula since resistors do have tolerances.
Then you can use that for that * value at the end of your formula.
The alternative is to measure the two resistances, then plug the values in the above formula since resistors do have tolerances.
Then you can use that for that * value at the end of your formula.