Search found 7716 matches

by medelec35
Fri Dec 15, 2023 10:24 am
Forum: Flowcode V6
Topic: PWM Not working
Replies: 2
Views: 26365

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...
by medelec35
Fri Dec 01, 2023 9:14 am
Forum: E-blocks
Topic: Eblocks1
Replies: 4
Views: 11334

Re: Eblocks1

Sorry, Flowcode 7 is no longer supported.
Have you thought of up grading to Flowcode v10?
Some popular target devices and all the components are now free with no code or user call macros limitations.
You will need to register via here
There is no longer a 30 day trial as its not required.
by medelec35
Sat Aug 19, 2023 3:21 pm
Forum: 8-Bit PIC
Topic: 18F27K40 i2c LCD fails but 18F2320 works
Replies: 11
Views: 10491

Re: 18F27K40 i2c LCD fails but 18F2320 works

Hello.
Flowcode v10 is different as it has no trial, so no time limit.
So long as you have got one of the free target devices shown here and the required toolchains from here you will be good to go
by medelec35
Thu Aug 17, 2023 9:29 am
Forum: 8-Bit PIC
Topic: 18F27K40 i2c LCD fails but 18F2320 works
Replies: 11
Views: 10491

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...
by medelec35
Tue Mar 28, 2023 10:17 pm
Forum: Bug reports
Topic: PIC16F15354 - Non-working I2C & 24C16 Macros
Replies: 11
Views: 20691

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 ...
by medelec35
Wed Mar 15, 2023 3:11 pm
Forum: E-blocks
Topic: Interfacing flowcode program on adruino BL0055 eblock2 board
Replies: 9
Views: 19379

Re: Interfacing flowcode program on adruino BL0055 eblock2 board

Oluwatobiloba0000 wrote:
Wed Mar 15, 2023 2:39 pm
Flowcode v9
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:
Post Icons.png
Post Icons.png (8.36 KiB) Viewed 19315 times
by medelec35
Wed Mar 15, 2023 2:36 pm
Forum: E-blocks
Topic: Interfacing flowcode program on adruino BL0055 eblock2 board
Replies: 9
Views: 19379

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...
by medelec35
Wed Mar 15, 2023 12:53 pm
Forum: E-blocks
Topic: Interfacing flowcode program on adruino BL0055 eblock2 board
Replies: 9
Views: 19379

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...
by medelec35
Mon Mar 13, 2023 12:24 pm
Forum: Flowcode V6
Topic: Pushbutton Trigger
Replies: 23
Views: 174595

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 ...
by medelec35
Sat Nov 12, 2022 12:22 am
Forum: General Programming
Topic: V9 Arduino chip pack purchase
Replies: 3
Views: 5347

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...
by medelec35
Fri Oct 28, 2022 8:46 am
Forum: Flowcode V8
Topic: String to num 1st Zero lost
Replies: 3
Views: 5718

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...
by medelec35
Tue Oct 25, 2022 11:17 pm
Forum: Flowcode V6
Topic: LCD 2x16 I2C backlight
Replies: 17
Views: 21331

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.
by medelec35
Tue Oct 25, 2022 10:02 pm
Forum: Flowcode V6
Topic: LCD 2x16 I2C backlight
Replies: 17
Views: 21331

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...
by medelec35
Tue Oct 25, 2022 8:49 am
Forum: Flowcode V6
Topic: LCD 2x16 I2C backlight
Replies: 17
Views: 21331

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, ...
by medelec35
Thu Oct 20, 2022 10:43 am
Forum: Flowcode V8
Topic: Internal Oscillator error 16f1823 & 16f1829
Replies: 3
Views: 6694

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...
by medelec35
Wed Oct 19, 2022 5:20 pm
Forum: Flowcode V8
Topic: Internal Oscillator error 16f1823 & 16f1829
Replies: 3
Views: 6694

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

Code: Select all

OSCCON = 0xF0;
by medelec35
Thu Oct 06, 2022 8:36 am
Forum: General Programming
Topic: e-blocks 2 purchase problem
Replies: 1
Views: 5336

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.
by medelec35
Mon Jul 18, 2022 8:30 am
Forum: General Programming
Topic: PIC12F675 display
Replies: 4
Views: 6821

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...
by medelec35
Tue May 31, 2022 4:10 pm
Forum: 8-Bit PIC
Topic: TIMER 2
Replies: 6
Views: 7953

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.
by medelec35
Wed Apr 20, 2022 6:04 pm
Forum: Flowcode V8
Topic: PIC18F25K42 problems with SPI
Replies: 7
Views: 9658

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 ...
by medelec35
Wed Apr 20, 2022 3:10 pm
Forum: Flowcode V8
Topic: PIC18F25K42 problems with SPI
Replies: 7
Views: 9658

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...
by medelec35
Wed Apr 20, 2022 12:35 pm
Forum: Bug reports
Topic: I2C PIC18F47K40
Replies: 2
Views: 5477

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.
by medelec35
Wed Apr 20, 2022 8:36 am
Forum: Flowcode V7
Topic: C icon with asm code
Replies: 8
Views: 10899

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.
by medelec35
Tue Apr 19, 2022 8:15 am
Forum: Flowcode V7
Topic: C icon with asm code
Replies: 8
Views: 10899

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...
by medelec35
Fri Apr 08, 2022 4:55 pm
Forum: Flowcode V8
Topic: 15V Voltmeter at 3v3 mcu (SOLED)
Replies: 5
Views: 6109

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.