It sounds like your display component may have unconnected pins. Check the properties of the component on the panel.error: 'port' undeclared (first use in this function)
Search found 1721 matches
- Wed Jun 29, 2022 10:02 am
- Forum: General
- Topic: Arduino Mega R3 and gLCD SH1106 SPI
- Replies: 9
- Views: 2019
Re: Arduino Mega R3 and gLCD SH1106 SPI
Hello,
- Wed Jun 29, 2022 9:59 am
- Forum: Feature Requests
- Topic: PIC33EP256MC502
- Replies: 1
- Views: 1139
Re: PIC33EP256MC502
Hello, This is how we configure the clock for our dsPIC E-block board. You could do something similar using a C icon at the start of your program. //Setup configuration for 70MIPs using 8MHz Crystal PLLFBD = 68; // M=70 CLKDIVbits.PLLPOST = 0; // N1=2 CLKDIVbits.PLLPRE = 0; // N2=2 OSCTUN = 0; //Tun...
- Fri Jun 24, 2022 1:04 pm
- Forum: General
- Topic: FlashEEPROM component emulate EEPROM
- Replies: 11
- Views: 2529
Re: FlashEEPROM component emulate EEPROM
Hello, Yes the Flash EEPROM is the component you need. The properties for the component should allow you to choose a page in flash memory to assign to store the data. There are then two functions read and write which allows you to read and write a 16-bit value from a 0 indexed location. If you are h...
- Fri Jun 24, 2022 9:44 am
- Forum: General
- Topic: Help with XC compiler problem
- Replies: 9
- Views: 4823
Re: Help with XC compiler problem
Hello, If you ever need to know the specifics for a PIC device then the easiest way is to look at the .h file in the compiler pic/include/ directory. For example for the 16F877A I looked at the pic16F877a.h file. Then search the file for the register your interested in, here is the section for the O...
- Wed Jun 22, 2022 1:33 pm
- Forum: Feature Requests
- Topic: max7219 8 digits 7 segment display
- Replies: 14
- Views: 4540
Re: max7219 8 digits 7 segment display
Aha well done, yes that is suprising but good to know.
I can maybe add that into the SPI CAL component so it does that for you before initialising the SPI.
I can maybe add that into the SPI CAL component so it does that for you before initialising the SPI.
- Wed Jun 22, 2022 10:32 am
- Forum: Bug Reports
- Topic: BMP280 pressure sensor
- Replies: 10
- Views: 3154
Re: BMP280 pressure sensor
Hi Jorg,
Looking at the code the return 0x800000 means the data is not ready.
Maybe try calling the Forced_Read function before you call the ReadXxx macro and hopefully that will help.
Looking at the code the return 0x800000 means the data is not ready.
Maybe try calling the Forced_Read function before you call the ReadXxx macro and hopefully that will help.
- Mon Jun 20, 2022 11:50 am
- Forum: Feature Requests
- Topic: max7219 8 digits 7 segment display
- Replies: 14
- Views: 4540
Re: max7219 8 digits 7 segment display
Brilliant thanks Martin, For some reason - hardware SPI doesn't always work on an Arduino AVR has a rather perculiar setup for SPI. When SPI is enabled if the hardware SS pin if left as an floating input or pulled low then this acts as a trigger to allow the SPI to go into slave mode. When this happ...
- Mon Jun 20, 2022 11:44 am
- Forum: Bug Reports
- Topic: BMP280 pressure sensor
- Replies: 10
- Views: 3154
Re: BMP280 pressure sensor
Hello Jorg,
Many thanks for letting us know.
I beleive I've now solved the problem for you and the latest component should now be available via the library updates.
Many thanks for letting us know.
I beleive I've now solved the problem for you and the latest component should now be available via the library updates.
- Mon Jun 20, 2022 10:51 am
- Forum: Bug Reports
- Topic: STM32-SPI-ILI9488
- Replies: 44
- Views: 20294
Re: STM32-SPI-ILI9488
Hello, I did have another go on Friday and over the weekend. I went through the register initialisers from the library I was using and compared them to the datasheet and they were all over the place in terms of either not matching up the correct number of parameter bytes or calling functions that we...
- Mon Jun 20, 2022 10:23 am
- Forum: General
- Topic: OLED SSD1306 I2C Address
- Replies: 31
- Views: 10790
Re: OLED SSD1306 I2C Address
Hello,
With the I2C timing problem you've highlighted. Please can you confirm the target MCU you're using and also the I2C channel you're using and I'll investigate for you.
With the I2C timing problem you've highlighted. Please can you confirm the target MCU you're using and also the I2C channel you're using and I'll investigate for you.