Search found 654 matches

by stefan.erni
Mon Dec 07, 2020 5:40 pm
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 42064

Re: ESP8266 as target chip

Hi Ben, Hi Leigh Nice to hear that you have already chosen the same module. It's working fine this Heltec Board together with the new FC9. For my computer a have additionally to download and install this USB driver: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers And for the Oled Di...
by stefan.erni
Thu Dec 03, 2020 10:29 am
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 42064

Re: ESP8266 as target chip

Hi Ben

On the Heltec wifi-kit-32 is an OLED 128*64.
How can I use this OLED?

regards

Stefan



https://heltec.org/project/wifi-kit-32/
Heltec.png
Heltec.png (142.57 KiB) Viewed 12754 times
by stefan.erni
Wed Dec 02, 2020 12:25 pm
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 42064

Re: ESP8266 as target chip

Hi Ben

Thank you very much Ben.
I have installed FC9 and the ESP toolchain.
A small program written and everything looks fine.
Now I have to get some ESP boards and try the hardware.
It's brilliant!

regards

Stefan
FC9_ESP32_2020-12-02_12-10-39.png
FC9_ESP32_2020-12-02_12-10-39.png (12.07 KiB) Viewed 12799 times
by stefan.erni
Fri Nov 27, 2020 4:56 pm
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 43
Views: 42064

Re: ESP8266 as target chip

Thanks Ben.

That's good news..

Can you tell us which ESP boards are supported?

regards

Stefan
by stefan.erni
Fri Nov 20, 2020 5:10 pm
Forum: Bug Reports
Topic: Interrupt component fails on PIC32MZ
Replies: 2
Views: 3561

Re: Interrupt component fails on PIC32MZ

Hi Brendan

Just go to the:
Build/Project Options/
Then to the:
BOOTISA and change form
Bootcode and Exeption code is micromips
to
Bootcode and Exeption code is mips


regards

Stefan
2020-11-20_17-03-30.png
2020-11-20_17-03-30.png (45.81 KiB) Viewed 3550 times
by stefan.erni
Fri Nov 20, 2020 4:33 pm
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10618

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi B.Senthil Thats good news. You can have a look to the ADCON0 register regards Stefan 36.1.6 RESULT FORMATTING The 12-bit ADC conversion result can be supplied in two formats, left justified or right justified. The FM bits of the ADCON0 register controls the output format. bit 2 FM: ADC results Fo...
by stefan.erni
Fri Nov 20, 2020 12:04 pm
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10618

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi B.Senthil


With different PIC, for example PIC32MZ2048efg, you can choose the AD bit resolution (8,10,12), but not with this PIC18F46K42, this has always 12 bits.

Can you control, if your potmeter is on 5volt and not on 3.3volt?


regards

Stefan
by stefan.erni
Thu Nov 19, 2020 6:24 pm
Forum: Feature Requests
Topic: FLAC (Free Lossless Audio Codec,) WAV, MP3
Replies: 2
Views: 3534

Re: FLAC (Free Lossless Audio Codec,) WAV, MP3

Thank you Ben, this is a very good information. a small wish. The DSP components are a huge advantage of Flowcode. I used the high and low pass filter DSP components. For 8 channels at the same time. And that works without any problems. Maybe the FLAC codec could be built in there? And pull a thread...
by stefan.erni
Tue Nov 17, 2020 2:21 pm
Forum: Feature Requests
Topic: FLAC (Free Lossless Audio Codec,) WAV, MP3
Replies: 2
Views: 3534

FLAC (Free Lossless Audio Codec,) WAV, MP3

Hi Ben With Flowcode8 it is comfortable and easy to write wav files. Would it also be possible to write or read FLAC files in the next version of FC? FlAC files are compressed audio files but not like MP3. The FLAC files are lossless and the codecs are open source. The practical thing for me, is tha...
by stefan.erni
Mon Nov 02, 2020 2:29 pm
Forum: General Programming
Topic: Bluetooth on Android
Replies: 25
Views: 18104

Re: Bluetooth on Android

Hi Martin

I used the terminal program from here and it's working fine to connect to my hardware and transmit simple commands to start and stop my recorder
I think Hi also provides the source code.

http://www.kai-morich.de/android/

regards

Stefan
by stefan.erni
Wed Oct 28, 2020 8:58 am
Forum: User Components
Topic: w25q128 SPI memory
Replies: 8
Views: 5493

Re: w25q128 SPI memory

Hi Martin

I only need a "single file". I have to add data for 7 days. Then I have to read all the data and clear the memory.
Only sometimes does the battery run out or I switch off the device. So I would have to save in the W25 where I have to continue writing data.

regards

Stefan
by stefan.erni
Tue Oct 27, 2020 9:27 am
Forum: User Components
Topic: w25q128 SPI memory
Replies: 8
Views: 5493

Re: w25q128 SPI memory

Hi Martin Thank you for sharing. I thought about using this memory instead of the Sd card. With the SD card, FAT takes over the management of the related data and free space. But with this memory I have no idea where to read or write data. Is there a way to manage the memory like in FAT? regards Ste...
by stefan.erni
Mon Oct 26, 2020 10:15 am
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 5369

Re: STM32F030 Timer component

Hi Dionyzoz


Yes it is from FC8. And there is an another error. This second error is just with the timer from your STM chip and not with my PIC32MZ timer.

regards

Stefan
by stefan.erni
Fri Oct 23, 2020 3:50 pm
Forum: 32-Bit ARM
Topic: STM32F030 Timer component
Replies: 10
Views: 5369

Re: STM32F030 Timer component

Hi Dionyzoz

Trie this parameter

regards

Stefan
counter.png
counter.png (26.65 KiB) Viewed 5362 times
by stefan.erni
Fri Oct 23, 2020 9:43 am
Forum: 8-Bit PIC
Topic: Fixed frequency timed output
Replies: 33
Views: 12247

Re: Fixed frequency timed output

Hi Bob

There is a very praktikel tool in flowcode to generate a signal

https://www.flowcode.co.uk/wiki/index.p ... ator_(DSP)

or if you need a signal on a pin you can use an interrupt for this.

If you explain more we, can help you more....

regards
Stefan
by stefan.erni
Thu Oct 22, 2020 10:54 am
Forum: Flowcode V8
Topic: Please Help Me!!(PIC18F47Q10_I2C)
Replies: 16
Views: 6407

Re: Please Help Me!!(PIC18F47Q10_I2C)

ok sorry about the irq. I just saw now how it works.
by stefan.erni
Thu Oct 22, 2020 10:31 am
Forum: Flowcode V8
Topic: Please Help Me!!(PIC18F47Q10_I2C)
Replies: 16
Views: 6407

Re: Please Help Me!!(PIC18F47Q10_I2C)

I think you are correct with your channel1 and the pins Maybe there is config problem of the pic. Can you change to softwaremode for the I2C and have a look for the clocksignal with the oscilloscope? Can you also include a Pin or LED in the Irq and test with oscilloscope if there is always an Irq? A...
by stefan.erni
Thu Oct 22, 2020 8:59 am
Forum: Flowcode V8
Topic: Please Help Me!!(PIC18F47Q10_I2C)
Replies: 16
Views: 6407

Re: Please Help Me!!(PIC18F47Q10_I2C)

Hi Seokgi You need a clock to send and read I2C Check if the IRQ is working, Remove for a test the 100ms Delay or make a loop in the main for a simple clocktest. An with your oscilloscope, the pin is always hi (not low)? If you never have a clock we have to look at this DS40002043D-page 8 did you se...
by stefan.erni
Thu Oct 22, 2020 8:32 am
Forum: Flowcode V8
Topic: Please Help Me!!(PIC18F47Q10_I2C)
Replies: 16
Views: 6407

Re: Please Help Me!!(PIC18F47Q10_I2C)

Hi Seokgi

Is the counting ok in this way?
Do you have pullup resistor for the I2C bus?
With your oscilloscope did you see the clock and data you are sending?
regards
Stefan
Count.PNG
Count.PNG (24.36 KiB) Viewed 6399 times
by stefan.erni
Wed Oct 21, 2020 2:40 pm
Forum: Flowcode V8
Topic: FC8 crash during project loading
Replies: 5
Views: 2582

Re: FC8 crash during project loading

Hi Steve


To work in softwaremode give some problem in the windows with component with a display like the wii nunchuck.

The good thing is, with the new Nvidia Driver update from today 2020.10.21. Flowcode is working nice again in hardwaremode and on a second screen.

regards

Stefan
by stefan.erni
Wed Oct 21, 2020 9:24 am
Forum: 8-Bit PIC
Topic: ADC ground ref setting
Replies: 11
Views: 6598

Re: ADC ground ref setting

Hi Jan

Some small PiC just have VDD and VSS, some big PiC have additional Analog power pin AVDD and AVSS

regards

Stefan
Pic-small.png
Pic-small.png (60.5 KiB) Viewed 6481 times
Pic_Big.png
Pic_Big.png (266.53 KiB) Viewed 6481 times
by stefan.erni
Wed Oct 21, 2020 8:52 am
Forum: 8-Bit PIC
Topic: ADC ground ref setting
Replies: 11
Views: 6598

Re: ADC ground ref setting

Hi Jan Can you post a schema from the hardware? How did you connect the ADC input? The source for ADC input should be a low impedance. You also have to be careful with possible offset voltages. And can you test with about 2Volt on the input? Sometimes there is a surprise when the ADC does not run at...
by stefan.erni
Mon Oct 19, 2020 4:41 pm
Forum: Flowcode V8
Topic: Programming warnings & memory usage
Replies: 7
Views: 3285

Re: Programming warnings & memory usage

Hi Ben

Half of the people cannot calculate percentages, that are more than 80%.

I suspect the calculation is wrong.
But you don't have much ram left, with one or two 16Bit more is the limit. A byte need 1Ramplace an integer need 2Ramplace.
Is a 16Pin PIC an option?

regards

Stefan
by stefan.erni
Mon Oct 19, 2020 11:32 am
Forum: Flowcode V8
Topic: Programming warnings & memory usage
Replies: 7
Views: 3285

Re: Programming warnings & memory usage

Hi Ben

This PIC has very little ram maybe you can switch to one with 256 byte
Here a link to the 8pin 8bit PIC.

https://www.microchip.com/ParamChartSea ... nchID=1001

regards
stefan
PIC8.png
PIC8.png (112.69 KiB) Viewed 3211 times
by stefan.erni
Mon Oct 19, 2020 11:14 am
Forum: Bug Reports
Topic: Empty #define statement
Replies: 4
Views: 3469

Re: Empty #define statement

Hi Steve

Thanks a lot. It solved the compiling problem.

In one of my program I had also this panel and I never understand why there are pins, and for what are this pins? a component?

In the 2D panel or 3D panel there are no components. I deleted all......

regards

Stefan
st7789_panel.fcfx
(9.44 KiB) Downloaded 167 times