Search found 1088 matches

by chipfryer27
Sat Apr 30, 2022 8:45 am
Forum: General
Topic: Serial Simulation
Replies: 7
Views: 2211

Re: Serial Simulation

Hi Martin If I'm not mistaken I think they're referring to FC not being able to simulate a Receive Interrupt. Having used this interrupt many times to populate the CB I'm quite familiar with it and know it works (at least in my applications). In simulation, if an Injector could directly populate the...
by chipfryer27
Sat Apr 23, 2022 8:16 pm
Forum: General
Topic: Serial Communications
Replies: 6
Views: 2313

Re: Serial Communications

Hi Attached is a very simple v8 example, which should work in v9 (only have v8 on this machine). v9 provides you with many more options re USART and CB. I haven't tested this on hardware but I'm pretty sure it should work. It has a USART, Circular Buffer and a LED. Using the Rx Interrupt to populate...
by chipfryer27
Tue Apr 19, 2022 11:29 pm
Forum: General
Topic: Serial Communications
Replies: 6
Views: 2313

Re: Serial Communications

Hi Delayed boarding (bored time). I might have some stuff on this machine (using PIC's, but the principles are the same) and will check later. If so, the examples would be using v7 but they easily translate to v9. In one application I used LoRa to create a "mesh" network utilising just a single comm...
by chipfryer27
Tue Apr 19, 2022 7:58 pm
Forum: General
Topic: Serial Communications
Replies: 6
Views: 2313

Re: Serial Communications

Hi The CB is certainly the "goto" component for my needs and as Martin suggests the wiki examples are a great place to start. Briefly, enable an interrupt on RX that points to your ISR (Interrupt Service Routine). In your ISR keep things brief. You can grab a Character etc from the UART and then sto...
by chipfryer27
Mon Apr 18, 2022 4:25 pm
Forum: Bug Reports
Topic: ESP32 Clock Component
Replies: 5
Views: 3280

Re: ESP32 Clock Component

Hi Just starting to explore the ESP and so far so good. Minor issue in getting the toolchain to work but all good and flash test worked perfectly. Downloading Ben's ESP_Config_WiFi to allow me to set a specific SSID and Password worked a treat too. Following on from that I thought it would be a good...
by chipfryer27
Fri Apr 15, 2022 6:55 pm
Forum: General
Topic: RTC component in 2d panel
Replies: 2
Views: 1341

Re: RTC component in 2d panel

Hi

You can easily rescale it from within the Dashboard. Simply select it, click the rescale icon on toolbar (5th from left) then drag component to desired size.

Hope this helps
Regards
by chipfryer27
Mon Apr 11, 2022 7:00 pm
Forum: General
Topic: Esp32 with Ili9341 and DS18B20
Replies: 11
Views: 3556

Re: Esp32 with Ili9341 and DS18B20

Hi Jorgen It's just referring to the "x/y" pixel position. "x,0" is the top of the display with your baseline at position x,225. To plot the Temp against this baseline we simply deduct the temperature from 225. If the temperature was 0 then the graph would show a line being drawn at x,225 (225-0). I...
by chipfryer27
Sun Apr 10, 2022 9:41 pm
Forum: General
Topic: running a DC motor using the arduino motor shield
Replies: 14
Views: 4724

Re: running a DC motor using the arduino motor shield

Hi Try the attached. Do you have a logic analyser or scope? If so look at the output pin on the Uno, it should show a 50/50 square wave. If not perhaps try an led with a resistor in series. It won't flash but if you change duty to 255 it should then be brighter than 128. This will at least prove you...
by chipfryer27
Sun Apr 10, 2022 9:32 pm
Forum: General
Topic: Esp32 with Ili9341 and DS18B20
Replies: 11
Views: 3556

Re: Esp32 with Ili9341 and DS18B20

Hi Jorgen In the attached I "spun" the display around in 2D Panel to make it easier for me to read. In the DS18B20 Macro I added in a command to set the address I created a new variable called "Plot" and In the Live_x Macro I added a calculation Plot=225-Temp. This then offsets the Temp value with r...
by chipfryer27
Sun Apr 10, 2022 8:57 pm
Forum: General
Topic: Esp32 with Ili9341 and DS18B20
Replies: 11
Views: 3556

Re: Esp32 with Ili9341 and DS18B20

Hi Jorgen Looks to me that you might have forgotten to set the device address in your DS18B20 macro. Try adding a AddressSpecificDevice ("000000000000") component macro before you sample. I included the above and the calculation mentioned earlier and in simulation I can plot. I'll forward a chart la...