Search found 15 matches

by lalitahuja33
Tue Oct 20, 2020 9:43 am
Forum: ESP-IDF 中文讨论版
Topic: 如何在Modbus_master示例中更改地址
Replies: 2
Views: 442

如何在Modbus_master示例中更改地址

我正在尝试使用modbus_master示例读取电表的寄存器值。电表的输入寄存器从30001到30156。 寄存器长度:2 寄存器类型:浮点型(只读) 波特率:9600 从站ID:1 在device_param.c中,我尝试更改值 const mb_parameter_descriptor_t device_parameters[] = { // { Cid, Param Name, Units, Modbus Slave Addr, Modbus Reg Type, Reg Start, Reg Size, Instance Offset, Data Type, Data Size, Par...
by lalitahuja33
Wed Jul 29, 2020 3:14 pm
Forum: General Discussion
Topic: How to impliment DNS in AP mode?
Replies: 2
Views: 702

Re: How to impliment DNS in AP mode?

Agree007 wrote:
Wed Jul 29, 2020 11:12 am
Do you have s DNS server connected to the AP ?

If not you need to add one or write a DNS server code for the esp32.
  1. Can you please tell me how to do that?
by lalitahuja33
Tue Jul 28, 2020 5:08 pm
Forum: General Discussion
Topic: How to impliment DNS in AP mode?
Replies: 2
Views: 702

How to impliment DNS in AP mode?

I'm trying to impliment DNS in the AP mode. The code is working fine with the local Ip which is 192.168.1.1 What changes needs to done to make it work? error: implicit declaration of function 'dns_local_addhost' tcpip_adapter_ip_info_t ipInfo; tcpip_adapter_dns_info_t dns_info; ip_addr_t dnsip; dns...
by lalitahuja33
Thu Jul 23, 2020 12:41 pm
Forum: General Discussion
Topic: How to change SPI Flash size in ESP32 in eclipse?
Replies: 4
Views: 1108

How to change SPI Flash size in ESP32 in eclipse?

In my eclipse console [b]Auto-detected Flash size: 4MB[/b] is showing but in the terminal [b]I (55) boot: SPI Flash Size : 2MB [/b]which is giving error because the partition table requires 4MB. And strangely this was not the problem a week ago, everything was working fine and I checked my terminal...
by lalitahuja33
Thu Jul 23, 2020 7:41 am
Forum: General Discussion
Topic: How to use ESP32 SPI in 4 bit using esp-idf?
Replies: 0
Views: 502

How to use ESP32 SPI in 4 bit using esp-idf?

I'm want to use ESP32 SPI in 4 bit mode to drive P10 displays. In my previous code I was driving one P10 tile/display using 1 bit SPI. Now, I want to drive 2 P10 tile/display using the same SPI in 4 bit mode and then 4 P10 tile/display using the same SPI in 4 bit mode. I have enabled (SPI_TRANS_MOD...

Go to advanced search