Search found 13 matches

by robmar
06 Nov 2021 17:55
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: Help on using sbit type
Replies: 5
Views: 1627

Re: Help on using sbit type

Hi, I don't understand exactly what do you mean by array of ports pointers . Do you mean this? stat = 0 for i = 0 to 9 stat = portb.i next i Regards, Levi Hi Levi, Sorry for not being that much clear, imagine that i want to set the bits of, say, porta.0, portb.3 and portc.7 much like a sort of: (of...
by robmar
06 Nov 2021 10:37
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: Help on using sbit type
Replies: 5
Views: 1627

Re: Help on using sbit type

Levi wrote: ↑
06 Nov 2021 10:18
Hi,

Check in the help file of the compiler section "Accessing Individual Bits"
Reagrds,
Levi
Yes, thanks, I did it already, but I got no clue on how to apply the sbit definition to an array of port pointers... :(
This is the actual issue and request for help :)
by robmar
06 Nov 2021 09:17
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: Help on using sbit type
Replies: 5
Views: 1627

Help on using sbit type

Hi all, Due to my limited programming experience, I always get stuck in pointer issues... :mrgreen: In detail, I know that dim my_bit as sbit at LATB0_bit .... my_bit = 1 is a valid and working construction. Now I would need to create an array of pointers to a list of port bits, in order to access t...
by robmar
06 Nov 2021 08:55
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: Doubts on type casting
Replies: 6
Views: 1758

Re: Doubts on type casting

Thanks so much for your time and the clear explanations! :D
by robmar
27 Oct 2021 22:32
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: Doubts on type casting
Replies: 6
Views: 1758

Doubts on type casting

Hello, Due to my limited programming experience, the following questions are probably naive, so please forgive me... Also they could be considered generic Basic language questions, but since I think they are possibly compiler dependent, I'm posting them in this section, hoping not to be OT :) So, co...
by robmar
03 Feb 2019 15:06
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: DSPIC33 MCU oscillator - PLLDIV setting issue
Replies: 1
Views: 1766

DSPIC33 MCU oscillator - PLLDIV setting issue

Hi all, In my project I am using a DSPIC33EP512MU810 with 8MHz XTAL and PLL by setting N1=2, N2=2 and PLLDIV=38 (M=40) thus complying with oscillator setting specifics and getting, as expected, a correct Fosc of: 8 * (M / N1*N2) = 80 MHz. Then I've changed the XTAL to a 16Mhz and changed the PLLDIV ...
by robmar
15 Oct 2015 09:16
Forum: Visual TFT Wish List
Topic: SPI support for TFT... again
Replies: 3
Views: 4614

SPI support for TFT... again

Hello and pardon me if I insist on this subject, although it has been already covered on many previous posts. But, as I get from ME answers, "SPI support is not a priority". Well, from my point of view, being VTFT a software specifically designed and dedicated to TFT displays, and being SPI the stan...
by robmar
11 Jun 2015 00:20
Forum: Development Boards
Topic: Touch panel settings - help needed
Replies: 1
Views: 1335

Touch panel settings - help needed

Hi all, I'm trying to configure a custom display with touch panel in my development setup (Easypic FusionV7 with dsPIC33FJ256GP710A mcu , Mikrobasic Pro for dsPic, VisualTFT) I had no problems in configuring the display itself (a SSD1963 7" 800x480) by modifying the _Lib_TFT_Defs, so now the display...
by robmar
21 May 2015 22:23
Forum: Development Boards
Topic: dsPIC33FJ256GP710A and ds30 bootloader - a reset issue
Replies: 1
Views: 1450

dsPIC33FJ256GP710A and ds30 bootloader - a reset issue

Hi all, I'm working on a project requiring the remote upgrade feature of a dsPIC33FJ256GP710A mcu. Being rather new to pic programming, I've decided to start experimenting using a third-party bootloader, namely ds30 loader, connected via a 232 click board on my Easypic Fusion, in view of a future im...
by robmar
22 Jan 2015 20:20
Forum: Development Boards
Topic: ADC port settings for EasyTFT touch panel X-Y read
Replies: 1
Views: 1169

ADC port settings for EasyTFT touch panel X-Y read

Hi all, I'm new to PIC programming, so probably I'm asking obvious things, but I'm stuck in a trivial issue: I'm testing the touch screen panel with one of the demo programs that come with EasyPic7, namely simple_maze . The original version is working correctly, but, for reasons too long to explain,...
by robmar
10 Dec 2014 08:42
Forum: Development Boards
Topic: dsPIC33 MMB
Replies: 21
Views: 8704

Re: dsPIC33 MMB

Hello Marina, thanks for info and yes, now with the correct routine everything's working fine. Still a little bit of resentment remains: a lot of time wasted in useless tests, a solution posted months after the start of this thread, many users left struggling with wrong and not functional examples. ...
by robmar
08 Dec 2014 19:49
Forum: Development Boards
Topic: dsPIC33 MMB
Replies: 21
Views: 8704

Re: dsPIC33 MMB

Hi all, I'm experiencing the very same problem reported by fraser_c The Mikromedia for dsPIC33 board on power-up displayed correctly the eagle picture. I've connected it and started uploading the .hex files provided as examples in mikromedia_dspic33_examples folder. The DS30 loader is connecting reg...
by robmar
05 Nov 2014 22:49
Forum: Development Boards
Topic: EasyTFT drisplay not working on EasyPic Fusion
Replies: 27
Views: 14154

Re: EasyTFT drisplay not working on EasyPic Fusion

Got today my new EasyPIC Fusion v7 with dsPIC33 MCU and EasyTFT display. I couldn't wait setting about the TFT test, but was soon turned down by its apparent malfunctioning. I've found out quickly enough that the correct examples to be used with my display were those included in the "9A" set, but st...

Go to advanced search