Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. Just installed in the latest Energia and then used the board manager to update my msp432r stuff to the latest 5.29.0. However, in: AppData\Local\Energia15\packages\energia\hardware\msp432r\5.29.0 the platform.txt file says: version=5.25.2 version.string=5252 Is 5.29.0 the same as 5.25.2?
  3. Last week
  4. in which software you are executing the program.
  5. Hi, I tried to perform an analogRead with analog pins (pin 57 - 60) on CC3220S launch pad. Input voltage was around 1.1V. From the CC3220S launch pad schematics, there is a voltage divider ( 422 / 998 ) before ADC, so I would expect ADC code to be around 1360. However, I am getting 333 (~0.11V). Could it be there are additional ADC setup required (clock, register configuration, etc)? My code basically just calls analogRead periodically as shown below. void setup() { // put your setup code here, to run once: Serial.begin(250000); } void loop(){ int out = analogRead(24); Serial.print(out); delay(1000); } My setup: LaunchPad board name and version: CC3220S_LAUNCHXL (Rev-A) Energia IDE version: 1.8.7E21 Board package version: 5.6.2 OS name and version: Windows 10 Thanks, Dennis
  6. Hi guys and girls, just wondering if anyone can help me getting this stone hmi screen running? Ive read the instructions many many times, and i sort of understand how it works, yet at the same time have zero idea how to do it! I have the STVA070WT-01 model which can be found here https://www.stoneitech.com I am testing with an arduino leonardo, or uno. I also have a max3232 rs232 serial to ttl adapter to connect the display to the arduino. Also havent looked up what pins to connect this to yet if anyone knows. I'd really like to learn 2 things 1/ how to send a variable to the screen to display it. E.g arduino reads temp sensor, sends it to the screen, screen displays temp reading. 2/ if i change something on the screen and have the arduino update that variable. E.g On the arduino i could have int name;, when i change the name on the screen it will update int name; on the arduino. Hoping someone out there can help me on the right track, sorry i have no code to post yet, as im not sure where to start. But it seems to be sending and recieving hex to send and receive the variables. An example in the instructions are: To display 1234 on the variable on the screen. A5 5A 05 83 00 20 04 D2 A5 5A = frame header 05 = command byte length (83 00 20 04 D2 total 5 bytes without frame header) 83 = write to register command 00 20 = variable address to send to on the screen. 04 D2 = Data content (1234) Thanks, hope someone can help.
  7. Just have a look and use the examples provided with the EasyLink library. They work fine.
  8. hi!!, i just start with energia and easylink library, i have some troubles and i try to understand reading the instructions of the codes. I read the transmision could be scheduled or inmediatly, when i try with the easylinkTx example the transmition start inmediatly because the abstime is 0, but i try to use easylink_transmit( ) and i have some errors. this is the instruction of how to use the function: EasyLink_Status EasyLink_transmit(EasyLink_TxPacket *txPacket) Sends a Packet with blocking call. This function is a blocking call to send a packet. If the Tx is successfully scheduled then the function will block until the Tx is complete. param txPacket - The descriptor for the packet to be Tx'ed. Ann i have this error: EasyLinkTx:44:39: error: expected primary-expression before '*' token EasyLink_transmit(EasyLink_TxPacket *txPacket); i dont send mi code because i just add Easylink_transmit(txPacket) in easylinkTx example anyone could tell me how can i use correctly easylink_transmit() and Easylink_receive, and also send me and example
  9. Earlier
  10. The radio of the CC1310 is sub-1 GHZ, not WiFi. Look for the EasyLink library.
  11. Dear All, We are testing CC1310 launchpad boards in Energia. They work fine in general - tested with EasyLink. However, when uploading the example code for CreateNetwork (File>Examples>WiFi>CreateNetwork), the execution stops at "Starting network..." and does not proceed further. The board works (tested with simple send received). Any ideas why this happens? Best Regards, Stanislav
  12. mixas

    Energia button

    Thanks for your help.
  13. @Grem Any luck with this issue? I am having the exact same problem with Mac OS High Sierra and the msp-EXP432p401r launchpad.
  14. Go through the examples available on the Energia menu File > Examples > 02. Digital.
  15. Rei Vilo

    ? and its use

    See http://www.cplusplus.com/forum/beginner/181870/
  16. Barney

    ? and its use

    Hi newbie here, can somebody please explain when to use ?, and what it does please. I.e =? if, \ Zero? Why use ? Instead of testing against the stack Thank you barney
  17. mixas

    Energia button

    Oh sorry, hello I am a new member. I need your help. I have a LaunchPad MSP_EXP430G2 w/ MSP430G22553 board. And with energia , I must write a sketch, that when I press the button 5 seconds , the led go on. And I havn´t a plan to do this. I know how to get a led by pressing the button once or twice. Now i need help how to get the led when you press the button for 5 seconds. How can I do it? Are there any commands for this or a sample program? Thanks for help! Sorry for my english ,it is not so good. greeting mixas
  18. We are missing critical information to be able to help you. Please refer to Netiquette for Newbies Information to Provide When Asking for Help
  19. Hello I need help. I have to get it with an Energia programming that you have to press a button 5 seconds before the led tackles. Are there any programs or commands on how to get this?. Thank you for your help
  20. Hello Rei, thanks for your response. But won't writing to a micro SD-card stall the CPU for long time ? if so then it's something I do not want as it will affect my normal running loop. Is there an alternate for this ? @Rei Vilo
  21. Flash has only a limited life-span of write/read cycles. Consider instead a micro SD-card or a MSP430 with FRAM memory.
  22. Hello, I am storing a sensor value in the Flash Memory in a Segment of MSP430F5529 board. Since the data from the sensor keeps changing i want the data to be overwritten so that not much of space in flash memory is used. Is there a simple way to achieve the overwrite feature in flash memory ? Also i have another doubt, i wanted to know if i keep writing continuously a data to flash memory, does the microcontroller gets caught in writing to the flash and slows the running program ? thank you for taking time to review my questions.
  23. It looks like that this library was written on Arduino only and with some special focus on features provided there. So to get it working in a first step you can: add this line into UserInterface.cpp: #include <atof.h> This will solve your initial error. The C-Compiler in Arduino does automatically include the atof which is nice for the user but makes issues when porting. Next you may run into an issue that the header file util/delay.h can not be found. Delay is part of Arduino and Energia so does not need to be included. To solve this just add an folder util and and empty file delay.h into the LTSketchbook\libraries\Linduino\ folder. Now it gets complicated: this library uses some hardware driver for I2C and SPI - note sure why (did not dig deeper into the lib and hardware) but maybe they want to use a second SPI and I2C. This are hardware specific driver and you need to port them or replace them. As template and examples you might use the existing SPI and I2C(Wire) drivers.
  1. Load more activity
×
×
  • Create New...